CVEvulnerability

CVE-2024-52293

7.2 HIGH Published 2024-11-13 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2024-11-13
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
7.2 HIGH — CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1 ([email protected])
7.2 HIGH — CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-22

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.

Affected configurations

• craftcms craft cms (> 4.0.0 < 4.12.2) • craftcms craft cms (> 5.0.0 < 5.4.3) • craftcms craft cms 4.0.0 • craftcms craft cms 5.0.0

Related

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References