CVE-2023-30179
- State
- Published
- Severity
- 7.2 High
- Published
- Jun 13, 2023
- Updated
- Jan 3, 2025
- Reserved
- Apr 7, 2023
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.2 High | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
Weaknesses
- CWE-94 Improper Control of Generation of Code ('Code Injection')
Affected Products
| Product | Versions |
|---|---|
n/an/a |
|
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
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.