HighGHSA-cw6g-qmjq-6w2w
Craft CMS Arbitrary System File Read
Affected versions
5.0.0-alpha.1 to before 5.4.9, 3.5.13 to before 4.12.8 - fixed in 5.4.9Details
### Summary By abusing the mail notification template it is possible to read arbitrary operating system files. ### Details The [dataUrl](https://craftcms.com/docs/3.x/dev/functions.html#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 i
Is your site exposed?Run a free passive scan. See your platform, versions and the issues on your surface in under a minute.
Check if my site is affected