CVE-2026-109304
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.
Published:Oct 12, 2026
Last Modified:Oct 13, 2026
EPS:Oct 12, 2026
EPSS Score:0.00314
CVSS Score:4.9
Affected Products
Vendor
Product
Action
Vendor
Craftcms
Product
Cms
Craftcms
Cms
Vendor
Craftcms
Product
Craft Cms
Craftcms
Craft Cms
Exploits
No exploit reference
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Related CVEs
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
