CVE-2023-30179
HIGH 7.2CVSS 3.1Withdrawn Advisory: CraftCMS Server-Side Template Injection vulnerability
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.
- Published
- 13 Jun 2023
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-94
- Also known as
- GHSA-3x74-v64j-qc3f
- Sources
- NVDJSONOSV GHSA-3x74-v64j-qc3fJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | craftcms | craft_cmscpe:2.3:a:craftcms:craft_cms:3.7.59:*:*:*:*:*:*:* |
= 3.7.59 | |
| OSV | Packagist | craftcms/cms | < 4.4.2 | 4.4.2 |
References
- https://datnlq.gitbook.io/cve/craft-cms/cve-2023-30179-server-side-template-injection · Exploit, Third Party Advisory, WEB
- https://github.com/craftcms/cms/blob/develop/CHANGELOG.md#442---2023-03-14 · Release Notes, WEB
- https://github.com/github/advisory-database/pull/2443#issuecomment-1610040714 · WEB
- https://github.com/github/advisory-database/pull/2443#issuecomment-1610634200 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-30179 · ADVISORY
- https://github.com/github/advisory-database/pull/2443 · WEB
- https://github.com/craftcms/cms · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 13 Jun 2023)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 13 Jun 2023)