CVE Catalog

CVE-2026-109304

MediumCVSS 4.9
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.31%

23th percentile - higher than 23% of all known CVEs

Summary

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.

Risk Assessment

The risk is leakage of sensitive files from the server, including configuration files, keys, or other sensitive data, potentially leading to system compromise.

Recommendation

Update Craft CMS to version 4.18.7 or 5.10.14 (depending on branch). Also, restrict ability to set title formats to trusted users.

Other vulnerabilities in Craft CMS

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS