{"id":"CVE-2020-12790","published":"2020-05-11T18:08:04Z","modified":"2024-08-04T12:04:22Z","title":"In the SEOmatic plugin before 3.2.49 for Craft CMS, helpers/DynamicMeta.php does not properly sanitize the URL","vendor":null,"product":null,"tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02189,"percentile":0.82871,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/nystudio107/craft-seomatic/releases/tag/3.2.49","tags":["x_refsource_MISC"]},{"url":"https://github.com/nystudio107/craft-seomatic/blob/v3/CHANGELOG.md#3249---20200324","tags":["x_refsource_MISC"]},{"url":"https://isec.pl/en/vulnerabilities/isec-0028-seomatic-ssti-23032020.txt","tags":["x_refsource_MISC"]},{"url":"https://github.com/nystudio107/craft-seomatic/commit/82f4a25b28fd622393da6592dc9e5ccee7fc5be3#diff-52fd042c50432133a00a8f840f4a6165","tags":["x_refsource_MISC"]}],"priority":{"score":16.6,"factors":[{"name":"EPSS percentile","points":16.57}]},"affected":[{"ecosystem":"Packagist","package":"nystudio107/craft-seomatic","vulnerableRanges":["<3.2.49"],"patched":["3.2.49"],"from":["GHSA-23q7-59jj-2pj4"],"provenance":"source"}],"summary":{"text":"The flaw is in helpers/DynamicMeta.php of the SEOmatic plugin for Craft CMS (versions before 3.2.49), where the URL is not properly sanitized. It leads to Server-Side Template Injection and credentials disclosure through a crafted Twig template containing a semicolon.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:34:22Z"},"euvd":{"id":"EUVD-2022-1894","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-nystudio107-craft-seomatic-cve-2018-14716","parents":[{"from":"CVE-2018-14716","to":"CVE-2020-12790","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:nystudio107/craft-seomatic","fromFixed":"3.1.4","toFixed":"3.2.49","daysApart":644},{"kind":"same-code","provenance":"machine","files":["src/helpers/DynamicMeta.php"],"commits":["https://github.com/nystudio107/craft-seomatic/commit/1e7d1d084ac3a89e7ec70620f2749110508d1ce1","https://github.com/nystudio107/craft-seomatic/commit/82f4a25b28fd622393da6592dc9e5ccee7fc5be3"],"basis":"shared function","functions":["getLocalizedUrls"]}]}],"children":[{"from":"CVE-2020-12790","to":"CVE-2021-44618","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/helpers/UrlHelper.php"],"commits":["https://github.com/nystudio107/craft-seomatic/commit/82f4a25b28fd622393da6592dc9e5ccee7fc5be3","https://github.com/nystudio107/craft-seomatic/commit/0c5c0c0e0cb61000d12ec55ebf174745a5bf6469"],"basis":"shared function","functions":["siteUrl"]}]}],"packageHistory":[{"cve":"CVE-2018-14716","published":"2018-08-06","fixed":"3.1.4","kev":false},{"cve":"CVE-2020-12790","published":"2020-05-11","fixed":"3.2.49","kev":false},{"cve":"CVE-2020-9757","published":"2020-03-04","fixed":"3.3.0","kev":false},{"cve":"CVE-2021-41749","published":"2022-06-12","fixed":"3.4.11","kev":false},{"cve":"CVE-2021-41750","published":"2022-06-12","fixed":"3.4.11","kev":false}],"package":"Packagist:nystudio107/craft-seomatic"}}