Medium severity · published Nov 13, 2024
CVE-2024-52292
Craft is a content management system (CMS)
6.5
CVSS
0.7%
EPSS
No
On KEV
Description
Craft is a content management system (CMS). The dataUrl function can be exploited if an attacker has write permissions on system notification templates. This function accepts an absolute file path, reads the file's content, and converts it into a Base64-encoded string. By embedding this function within a system notification template, the attacker can exfiltrate the Base64-encoded file content through a triggered system email notification. Once the email is received, the Base64 payload can be decoded, allowing the attacker to read arbitrary files on the server. This is fixed in 5.4.9 and 4.12.8.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.7% · higher than 55% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CC
Craft Cms · Craftcms
3.5.13 before 4.12.8; 5.0.0 before 5.4.9 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-52292
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-52292
Exploit
https://github.com/craftcms/cms/security/advisories/GHSA-cw6g-qmjq-6w2w
More from Craft Cms
10.0
CVE-2025-32432
Craft CMS Allows Remote Code Execution
9.8
CVE-2024-56145
RCE when PHP `register_argc_argv` config setting is enabled in craftcms/cms
8.1
CVE-2025-23209
Potential RCE with a compromised security key in craft/cms
5.3
CVE-2025-35939
Craft CMS stores user-provided content in session files
9.8
CVE-2026-32267
Craft CMS Vulnerable to Privilege Escalation/Bypass through UsersController->actionImpersonateWithToken()
