Arbitrary Code Injection Affecting craftcms/cms package, versions >=4.0.0-RC1, <4.12.2>=5.0.0-RC1, <5.4.3


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.07% (33rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-CRAFTCMSCMS-8379630
  • published14 Nov 2024
  • disclosed13 Nov 2024
  • creditNull Chilly

Introduced: 13 Nov 2024

CVE-2024-52293  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade craftcms/cms to version 4.12.2, 5.4.3 or higher.

Overview

craftcms/cms is a content management system.

Affected versions of this package are vulnerable to Arbitrary Code Injection via the absolutePath function, due to missing path normalization, by executing a twig SSTI template.

CVSS Scores

version 4.0
version 3.1