{"id":"CVE-2023-30179","state":"PUBLISHED","title":"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 Ph","description":"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.","publishedAt":"2023-06-13T00:00:00.000Z","updatedAt":"2025-01-03T20:04:29.866Z","severity":{"score":7.2,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://github.com/craftcms/cms/blob/develop/CHANGELOG.md#442---2023-03-14","https://datnlq.gitbook.io/cve/craft-cms/cve-2023-30179-server-side-template-injection","https://github.com/github/advisory-database/pull/2443#issuecomment-1610634200","https://github.com/github/advisory-database/pull/2443#issuecomment-1610040714"],"weaknesses":["CWE-94"],"ingestedAt":"2026-10-29T20:05:52.290Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/30xxx/CVE-2023-30179.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-30179","state":"PUBLISHED","datePublished":"2023-06-13T00:00:00.000Z","dateUpdated":"2025-01-03T20:04:29.866Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2023-04-07T00:00:00.000Z"},"containers":{"cna":{"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://github.com/craftcms/cms/blob/develop/CHANGELOG.md#442---2023-03-14"},{"url":"https://datnlq.gitbook.io/cve/craft-cms/cve-2023-30179-server-side-template-injection"},{"url":"https://github.com/github/advisory-database/pull/2443#issuecomment-1610634200"},{"url":"https://github.com/github/advisory-database/pull/2443#issuecomment-1610040714"}],"problemTypes":[{"descriptions":[{"type":"text","lang":"en","description":"n/a"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2023-06-28T00:00:00.000Z"},"tags":["disputed"]},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/craftcms/cms/blob/develop/CHANGELOG.md#442---2023-03-14","tags":["x_transferred"]},{"url":"https://datnlq.gitbook.io/cve/craft-cms/cve-2023-30179-server-side-template-injection","tags":["x_transferred"]},{"url":"https://github.com/github/advisory-database/pull/2443#issuecomment-1610634200","tags":["x_transferred"]},{"url":"https://github.com/github/advisory-database/pull/2443#issuecomment-1610040714","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T14:21:44.660Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.2,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"HIGH","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-01-03T20:04:19.613139Z","id":"CVE-2023-30179","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","type":"CWE","lang":"en","description":"CWE-94 Improper Control of Generation of Code ('Code Injection')"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-01-03T20:04:29.866Z"}}]}}}