Security mailing lists by PureSourceCode

CVE-2024-52292

MEDIUM 6.5CVSS 3.1

Craft CMS Arbitrary System File Read

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.

Published
13 Nov 2024
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-22CWE-552
Also known as
GHSA-cw6g-qmjq-6w2w
Sources
NVDJSONOSV GHSA-cw6g-qmjq-6w2wJSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/E:P
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.7 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
OSV GitHub CVSS 3.1 HIGH 7.7 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD craftcms craft_cms
cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*
>= 3.5.13, < 4.12.8 4.12.8
NVD craftcms craft_cms
cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*
>= 5.0.0, < 5.4.9 5.4.9
OSV Packagist craftcms/cms >= 5.0.0-alpha.1, < 5.4.9 5.4.9
OSV Packagist craftcms/cms >= 3.5.13, < 4.12.8 4.12.8

References

History

  • 25 Nov 2026 20:56 UTC · NVD: first stored (published 13 Nov 2024)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 13 Nov 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.