{"id":"CVE-2020-12790","aliases":["CVE-2020-12790","GHSA-23q7-59jj-2pj4"],"related":[],"kind":"vulnerability","state":"published","title":"SEOmatic for CraftCMS allows Server-Side Template Injection","summary":"In the SEOmatic plugin before 3.2.49 for Craft CMS, helpers/DynamicMeta.php does not properly sanitize the URL. This leads to Server-Side Template Injection and credentials disclosure via a crafted Twig template after a semicolon.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the SEOmatic plugin before 3.2.49 for Craft CMS, helpers/DynamicMeta.php does not properly sanitize the URL. This leads to Server-Side Template Injection and credentials disclosure via a crafted Twig template after a semicolon.","source":"cvelist"},{"lang":"es","text":"En el plugin SEOmatic versiones anteriores a 3.2.49 para Craft CMS, el archivo helpers/DynamicMeta.php no sanea apropiadamente la URL. Esto conlleva a una Inyección de Plantilla del Lado del Servidor y a una divulgación de credenciales por medio de una plantilla Twig diseñada después de un punto y coma.","source":"nvd"}],"published":"2020-05-11T18:08:04.000Z","modified":"2026-06-17T02:52:19.020Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","score":5,"rating":"MEDIUM"}],"cwes":["CWE-74"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.2.49"}],"ecosystem":"Packagist","package":"nystudio107/craft-seomatic","purl":"pkg:composer/nystudio107/craft-seomatic","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.2.49"}],"vendor":"nystudio107","product":"seomatic","cpe":"cpe:2.3:a:nystudio107:seomatic:*:*:*:*:*:craft_cms:*:*","source":"nvd"}],"references":[{"url":"https://github.com/nystudio107/craft-seomatic/releases/tag/3.2.49","tags":["release-notes","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/nystudio107/craft-seomatic/blob/v3/CHANGELOG.md#3249---20200324","tags":["release-notes","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://isec.pl/en/vulnerabilities/isec-0028-seomatic-ssti-23032020.txt","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/nystudio107/craft-seomatic/commit/82f4a25b28fd622393da6592dc9e5ccee7fc5be3#diff-52fd042c50432133a00a8f840f4a6165","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-12790","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/nystudio107/craft-seomatic/commit/82f4a25b28fd622393da6592dc9e5ccee7fc5be3","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/nystudio107/craft-seomatic","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-12790","url":"https://www.cve.org/CVERecord?id=CVE-2020-12790","licence":"CVE Terms of Use","modified":"2024-08-04T12:04:22.865Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-23q7-59jj-2pj4","url":"https://github.com/advisories/GHSA-23q7-59jj-2pj4","licence":"CC-BY-4.0","modified":"2024-02-16T08:24:58.209Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-12790","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-12790","licence":"Public domain","modified":"2026-06-17T02:52:19.020Z"}],"updatedAt":"2026-11-25T22:57:52.367Z","epss":{"score":0.02189,"percentile":0.82947,"date":"2026-12-01T12:00:22.000Z"}}