Description
Craft is a content management system (CMS). Prior to 4.12.2 and 5.4.3, Craft is missing normalizePath in the function FileHelper::absolutePath could lead to Remote Code Execution on the server via twig SSTI. This is a sequel to CVE-2023-40035. This vulnerability is fixed in 4.12.2 and 5.4.3.
Metrics
CVSS 3.1 7.2/10
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| craftcms | cms | >= 4.0.0-RC1, < 4.12.2; >= 5.0.0-RC1, < 5.4.3 |
| craftcms | craft_cms | <= 4.0.0-RC1; < 4.12.2; <= 5.0.0-RC1; < 5.4.3 |
References
Timeline
- Published
- Nov 13, 2024
- Last modified
- Jun 17, 2026
- NVD status
- Analyzed