Vulnerability Description
Craft CMS 4.0.0 before 4.18.7 and 5.0.0 before 5.10.14 contains an arbitrary file read vulnerability because the Twig create() class blocklist does not cover DOMDocument. Attackers able to set an entry-type title format, including via project-config/apply, can use create('DOMDocument').loadHTMLFile() with textContent to expose local file contents to non-admin users who can view entries.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/craftcms/cms/security/advisories/GHSA-j5wg-m2pr-35qc
- https://www.vulncheck.com/advisories/craft-cms-4.0.0-before-4.18.7-and-5.0.0-bef
FAQ
What is CVE-2026-109304?
CVE-2026-109304 is a vulnerability with a CVSS score of 4.9 (MEDIUM). Craft CMS 4.0.0 before 4.18.7 and 5.0.0 before 5.10.14 contains an arbitrary file read vulnerability because the Twig create() class blocklist does not cover DOMDocument. Attackers able to set an entr...
How severe is CVE-2026-109304?
CVE-2026-109304 has been rated MEDIUM with a CVSS base score of 4.9/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-109304?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.