{"id":"CVE-2021-41749","aliases":["EUVD-2022-6049","GHSA-g7xr-v82w-qggq"],"status":"published","title":"Code Injection in SEOmatic","description":"In the SEOmatic plugin up to 3.4.11 for Craft CMS 3, it is possible for unauthenticated attackers to perform a Server-Side Template Injection, allowing for remote code execution.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.16787,"percentile":0.97063,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-94"],"published":"2022-06-12T11:00:13Z","modified":"2026-10-20T10:54:58Z","exploits":[{"source":"nuclei","id":"CVE-2021-41749","title":"CraftCMS SEOmatic - Server-Side Template Injection","type":"detection template","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-41749.yaml"}],"fixes":[{"ecosystem":"Packagist","package":"nystudio107/craft-seomatic","fixed_in":["3.4.11"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"nystudio107/craft-seomatic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.11"}]}]},{"source":"osv","ecosystem":"Packagist","package":"nystudio107/craft-seomatic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.11"}]}],"versions":["3.0.0","3.0.0-beta.1","3.0.0-beta.10","3.0.0-beta.11","3.0.0-beta.12","3.0.0-beta.13","3.0.0-beta.14","3.0.0-beta.15","3.0.0-beta.16","3.0.0-beta.17","3.0.0-beta.18","3.0.0-beta.19","3.0.0-beta.2","3.0.0-beta.20","3.0.0-beta.21","3.0.0-beta.22","3.0.0-beta.23","3.0.0-beta.24","3.0.0-beta.3","3.0.0-beta.4","3.0.0-beta.5","3.0.0-beta.6","3.0.0-beta.7","3.0.0-beta.8","3.0.0-beta.9","3.0.1","3.0.10","3.0.11","3.0.12","3.0.13","3.0.14","3.0.15","3.0.16","3.0.17","3.0.18","3.0.2","3.0.20","3.0.22","3.0.23","3.0.24","3.0.25","3.0.3","3.0.4","3.0.5","3.0.6","3.0.7","3.0.8","3.0.9","3.1.0","3.1.1","3.1.10","3.1.11","3.1.12","3.1.13","3.1.13.1","3.1.14","3.1.16","3.1.17","3.1.18","3.1.18.1","3.1.19","3.1.2","3.1.20","3.1.21","3.1.22","3.1.23","3.1.24","3.1.25","3.1.26","3.1.27","3.1.28","3.1.29","3.1.3","3.1.30","3.1.31","3.1.32","3.1.33","3.1.34","3.1.35","3.1.36","3.1.37","3.1.38","3.1.39","3.1.4","3.1.40","3.1.41","3.1.42","3.1.43","3.1.44","3.1.45","3.1.46","3.1.47","3.1.48","3.1.49","3.1.5","3.1.50","3.1.6","3.1.7","3.1.8","3.1.9","3.2.0","3.2.1","3.2.10","3.2.11","3.2.12","3.2.13","3.2.14","3.2.16","3.2.17","3.2.18","3.2.19","3.2.2","3.2.20","3.2.21","3.2.22","3.2.23","3.2.24","3.2.25","3.2.26","3.2.27","3.2.28","3.2.29","3.2.3","3.2.30","3.2.31","3.2.32","3.2.33","3.2.34","3.2.35","3.2.36","3.2.37","3.2.38","3.2.39","3.2.4","3.2.41","3.2.42","3.2.43","3.2.44","3.2.45","3.2.46","3.2.47","3.2.48","3.2.49","3.2.5","3.2.50","3.2.51","3.2.6","3.2.7","3.2.8","3.2.9","3.3.0","3.3.1","3.3.10","3.3.11","3.3.12","3.3.13","3.3.14","3.3.15","3.3.16","3.3.17","3.3.18","3.3.19","3.3.2","3.3.20","3.3.21","3.3.22","3.3.23","3.3.24","3.3.25","3.3.26","3.3.27","3.3.28","3.3.29","3.3.3","3.3.30","3.3.31","3.3.32","3.3.33","3.3.34","3.3.35","3.3.36","3.3.37","3.3.38","3.3.39","3.3.4","3.3.40","3.3.41","3.3.42","3.3.43","3.3.44","3.3.45","3.3.46","3.3.47","3.3.48","3.3.5","3.3.6","3.3.7","3.3.8","3.3.9","3.4.0","3.4.1","3.4.10","3.4.2","3.4.3","3.4.4","3.4.5","3.4.6","3.4.7","3.4.8","3.4.9"]}],"products":[{"vendor":"nystudio107","product":"seomatic"}],"references":[{"url":"https://github.com/nystudio107/craft-seomatic/blob/develop/CHANGELOG.md","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","advisory","web"]},{"url":"https://github.com/nystudio107/craft-seomatic/commit/3fee7d50147cdf3f999cfc1e04cbc3fb3d9f2f7d","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41749","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-g7xr-v82w-qggq"},{"url":"https://github.com/nystudio107/craft-seomatic","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-41749","description":"In the SEOmatic plugin up to 3.4.11 for Craft CMS 3, it is possible for unauthenticated attackers to perform a Server-Side Template Injection, allowing for remote code execution.","status":"published","published":"2022-06-12T11:00:13Z","modified":"2024-08-04T03:15:29.281Z","updated_at":"2026-11-02T14:32:59.105382Z"}],"euvd":[{"id":"EUVD-2022-6049","description":"In the SEOmatic plugin up to 3.4.11 for Craft CMS 3, it is possible for unauthenticated attackers to perform a Server-Side Template Injection, allowing for remote code execution.","status":"published","published":"2022-06-12T11:00:13Z","modified":"2024-08-04T03:15:29Z","updated_at":"2026-11-03T03:24:17.230256Z"}],"ghsa":[{"id":"GHSA-g7xr-v82w-qggq","title":"Code Injection in SEOmatic","description":"In the SEOmatic plugin up to 3.4.11 for Craft CMS 3, it is possible for unauthenticated attackers to perform a Server-Side Template Injection, allowing for remote code execution.","status":"published","published":"2022-06-13T00:00:19Z","modified":"2023-01-27T05:04:05Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:36:20.985872Z"}],"nvd":[{"id":"CVE-2021-41749","description":"In the SEOmatic plugin up to 3.4.11 for Craft CMS 3, it is possible for unauthenticated attackers to perform a Server-Side Template Injection, allowing for remote code execution.","status":"published","published":"2022-06-12T11:15:07.663Z","modified":"2026-06-17T04:08:51.953Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:07:06.501652Z"}],"osv":[{"id":"CVE-2021-41749","description":"In the SEOmatic plugin up to 3.4.11 for Craft CMS 3, it is possible for unauthenticated attackers to perform a Server-Side Template Injection, allowing for remote code execution.","status":"published","published":"2022-06-12T11:15:07.663Z","modified":"2026-10-20T10:54:58.813776062Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:21.557945Z"},{"id":"GHSA-g7xr-v82w-qggq","title":"Code Injection in SEOmatic","description":"In the SEOmatic plugin up to 3.4.11 for Craft CMS 3, it is possible for unauthenticated attackers to perform a Server-Side Template Injection, allowing for remote code execution.","status":"published","published":"2022-06-13T00:00:19Z","modified":"2023-11-08T04:07:01.070602Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T15:46:47.472172Z"}]}}
