CVE-2026-109304

published 12 Oct 2026 · updated 13 Oct 2026

Craft CMS 4.0.0 before 4.18.7 and 5.0.0 before 5.10.14 Arbitrary File Read via Twig create() DOMDocument

4.9MediumCVSS 4.9EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 4.18.7 and 5.10.14.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
craftcms>=4.0.0 <4.18.7, >=5.0.0 <5.10.144.18.7, 5.10.14

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-109304 severity on Zeptric[![CVE-2026-109304](https://zeptric.io/badge/cve/CVE-2026-109304.svg)](https://zeptric.io/cve/CVE-2026-109304)