# 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

- Severity: Medium 6.9 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 26% of CVEs (2026-12-01)
- Published: 2026-10-12T16:05:00.860Z
- Modified: 2026-10-16T17:25:57.940Z
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- craftcms cms: from 4.0.0 before 4.18.7; from 5.0.0 before 5.10.14 (not affected: 4.18.7; 5.10.14)

## Every score

- VulnCheck: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 4.9 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/craftcms/cms/security/advisories/GHSA-j5wg-m2pr-35qc> (vendor-advisory)
- <https://www.vulncheck.com/advisories/craft-cms-4.0.0-before-4.18.7-and-5.0.0-before-5.10.14-arbitrary-file-read-via-twig-create-domdocument> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-109304](https://www.cve.org/CVERecord?id=CVE-2026-109304), CVE Terms of Use, modified 2026-10-13
- NVD: [CVE-2026-109304](https://nvd.nist.gov/vuln/detail/CVE-2026-109304), Public domain, modified 2026-10-16

---

Page: https://cve.day/CVE-2026-109304 · Whole record: https://cve.day/CVE-2026-109304.json · Rebuilt by cve.day 2026-11-25T22:59:43.625Z
