CVE-2023-30179
highpriority · track · 30EPSS 0.022 · 82 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.6–7.2
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-3x74-v64j-qc3fWithdrawn Advisory: CraftCMS Server-Side Template Injection vulnerability2023-06-13ghsa · osvUS
## Withdrawn This advisory has been withdrawn because the CVE has been disputed and the underlying vulnerability is likely invalid. This link is maintained to preserve external references. [According to maintainers of Craft CMS](https://github.com/github/advisory-database/pull/2443#issuecomment-1610634200), only administrators can access Settings, and those administrators may have business needs for their permissions. Additionally, the underlying issue likely has little to no real-world security impact. ## Original Description CraftCMS 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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (13)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2023-30179/cnnvd
- https://datnlq.gitbook.io/cve/craft-cms/cve-2023-30179-server-side-template-injectioncnnvd
- https://github.com/craftcms/cms/blob/develop/CHANGELOG.md#442---2023-03-14cnnvd
- https://github.com/github/advisory-database/pull/2443#issuecomment-1610040714cnnvd
- https://github.com/github/advisory-database/pull/2443#issuecomment-1610634200cnnvd
- https://datnlq.gitbook.io/cve/craft-cms/cve-2023-30179-server-side-template-injectionenisa_euvd
- https://github.com/craftcms/cms/blob/develop/CHANGELOG.md#442---2023-03-14enisa_euvd
- https://github.com/github/advisory-database/pull/2443#issuecomment-1610040714enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan