{"id":"CVE-2018-14716","published":"2018-08-06T20:00:00Z","modified":"2024-08-05T09:38:13Z","title":"A Server Side Template Injection (SSTI) was discovered in the SEOmatic plugin before 3.1.4 for Craft CMS, because…","vendor":null,"product":null,"tier":"tail","description":{"text":"A Server Side Template Injection (SSTI) was discovered in the SEOmatic plugin before 3.1.4 for Craft CMS, because requests that don't match any elements incorrectly generate the canonicalUrl, and can lead to execution of Twig code.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.32673,"percentile":0.98381,"provenance":"source"},"cwes":[],"references":[{"url":"https://www.exploit-db.com/exploits/45108/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"https://github.com/nystudio107/craft-seomatic/releases/tag/3.1.4","tags":["x_refsource_CONFIRM"]},{"url":"https://twitter.com/nystudio107/status/1021855169515057152","tags":["x_refsource_CONFIRM"]},{"url":"http://ha.cker.info/exploitation-of-server-side-template-injection-with-craft-cms-plguin-seomatic/","tags":["x_refsource_MISC"]},{"url":"https://twitter.com/nystudio107/status/1021847835418009605","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nystudio107/craft-seomatic/commit/1e7d1d084ac3a89e7ec70620f2749110508d1ce1","tags":["x_refsource_CONFIRM"]}],"priority":{"score":24.7,"factors":[{"name":"EPSS percentile","points":19.68},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2018-07-31"},"pocGithub":{"count":1,"skipped":0,"earliest":"2024-05-15","earliestUrl":"https://github.com/0xB455/CVE-2018-14716","repos":[{"name":"0xB455/CVE-2018-14716","url":"https://github.com/0xB455/CVE-2018-14716","stars":1,"created":"2024-05-15"}]},"first":{"date":"2018-07-31","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/45108"},"provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"nystudio107/craft-seomatic","vulnerableRanges":["<3.1.4"],"patched":["3.1.4"],"from":["GHSA-6j9m-rp7m-3gfg"],"provenance":"source"}],"summary":{"text":"A Server Side Template Injection (SSTI) flaw exists in the SEOmatic plugin for Craft CMS, in versions before 3.1.4, where requests that match no elements cause the canonicalUrl to be generated incorrectly. The flaw can lead to execution of Twig code.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:43:46Z"},"euvd":{"id":"EUVD-2022-2812","exploited":false,"provenance":"source"},"exploits":[{"id":45108,"url":"https://www.exploit-db.com/exploits/45108","title":"Craft CMS SEOmatic plugin 3.1.4 - Server-Side Template Injection","date":"2018-07-31","verified":false,"provenance":"source"}],"exploitRefs":["https://www.exploit-db.com/exploits/45108/","https://www.exploit-db.com/exploits/45108"],"lineage":{"familyId":"fam-nystudio107-craft-seomatic-cve-2018-14716","children":[{"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"]}]},{"from":"CVE-2018-14716","to":"CVE-2021-41749","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/services/Helper.php"],"commits":["https://github.com/nystudio107/craft-seomatic/commit/1e7d1d084ac3a89e7ec70620f2749110508d1ce1","https://github.com/nystudio107/craft-seomatic/commit/3fee7d50147cdf3f999cfc1e04cbc3fb3d9f2f7d"],"basis":"rarely changed file"}]}],"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}],"package":"Packagist:nystudio107/craft-seomatic"}}