{"id":"CVE-2023-30179","sourceIdentifier":"cve@mitre.org","published":"2023-06-13T17:15:14.600","lastModified":"2026-06-17T05:54:15.627","vulnStatus":"Modified","cveTags":[{"sourceIdentifier":"cve@mitre.org","tags":["disputed"]}],"descriptions":[{"lang":"en","value":"CraftCMS version 3.7.59 is vulnerable to Server-Side Template Injection (SSTI). An authenticated attacker can inject Twig Template to User Photo Location field when setting User Photo Location in User Settings, lead to Remote Code Execution. NOTE: the vendor disputes this because only Administrators can add this Twig code, and (by design) Administrators are allowed to do that by default."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","baseScore":7.2,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.2,"impactScore":5.9},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","baseScore":7.2,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.2,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2025-01-03T20:04:19.613139Z","id":"CVE-2023-30179","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-94"}]},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","description":[{"lang":"en","value":"CWE-94"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:craftcms:craft_cms:3.7.59:*:*:*:*:*:*:*","matchCriteriaId":"5B3C0EB0-BC83-4827-A8FA-8C0F9A3FC159"}]}]}],"references":[{"url":"https://datnlq.gitbook.io/cve/craft-cms/cve-2023-30179-server-side-template-injection","source":"cve@mitre.org","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/craftcms/cms/blob/develop/CHANGELOG.md#442---2023-03-14","source":"cve@mitre.org","tags":["Release Notes"]},{"url":"https://github.com/github/advisory-database/pull/2443#issuecomment-1610040714","source":"cve@mitre.org"},{"url":"https://github.com/github/advisory-database/pull/2443#issuecomment-1610634200","source":"cve@mitre.org"},{"url":"https://datnlq.gitbook.io/cve/craft-cms/cve-2023-30179-server-side-template-injection","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/craftcms/cms/blob/develop/CHANGELOG.md#442---2023-03-14","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Release Notes"]},{"url":"https://github.com/github/advisory-database/pull/2443#issuecomment-1610040714","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/github/advisory-database/pull/2443#issuecomment-1610634200","source":"af854a3a-2127-422b-91ae-364da2661108"}]}