CVE-2026-109304

Medium

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.

SeverityMedium
CVSS4.9
Exploit probability—
ProductCms
PublishedOct 12, 2026
First seenOct 12, 2026

How to fix

Update
  • craftcms cms4.18.7, 5.10.14 or later

Affected products

ProductAffected versionsFixed in
craftcms cms4.0.0 ≤ v < 4.18.7, 5.0.0 ≤ v < 5.10.144.18.7, 5.10.14

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.