1. Home
  2. Vulnerabilities
  3. CVE-2026-109304

CVE-2026-109304

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

Published 12 Oct 2026 · modified 16 Oct 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Low 27/100

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.

Affected products and versions

Craftcms (2 line(s))
Craftcms
ProductVersionsFixed inSource
cms from 4.0.0 (included) to 4.18.7 (excluded) — CNA (vendor or assigner)
cms from 5.0.0 (included) to 5.10.14 (excluded) — CNA (vendor or assigner)

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
CNA (vendor or assigner)
Weakness (CWE)
CNA (vendor or assigner)
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N (CVSS 3.1, CNA:VulnCheck)
Weakness
CWE-200 · Divulgation d'information

How this data is obtained and calculated