CVE-2023-30179: craftcms craft_cms Code Injection
Vulnerability summary
CVE-2023-30179 is a high (CVSS 7.2) Code Injection vulnerability in craftcms craft_cms. EPSS estimates a 2.20% chance of exploitation in the next 30 days, higher than 82.3% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 13-06-2023PublishedVulnerability first disclosed.
- 03-01-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST7.2HighCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
2.20%
Chance of exploitation in the next 30 days
Percentile
82%
Versus all other CVEs
30-day change
0.00 pp
From 2.20% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (datnlq.gitbook.io)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Craftcms1 product
- craft_cmsEOL3.7.59
1 vendor · 1 product
References
4 links- github.com/craftcms/cms/blob/develop/CHANGELOG.mdRelease Notes
- datnlq.gitbook.io/cve/craft-cms/cve-2023-30179-server-side-template-injectionExploitThird Party Advisory