CVE-2026-109304
published medium CVSS 4.0 · 6.9Craft CMS 4.0.0 before 4.18.7 and 5.0.0 before 5.10.14 Arbitrary File Read via Twig create() DOMDocument
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| craftcms | — | cms4.0.0 to < 4.18.7 (affected · semver) · 4.18.7 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| craftcms | — | cms5.0.0 to < 5.10.14 (affected · semver) · 5.10.14 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.9 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| craftcms | cms | 4.0.0 to < 4.18.7 (affected · semver)4.18.7 (unaffected · semver)Default: unaffected | VulnCheck · cna |
| craftcms | cms | 5.0.0 to < 5.10.14 (affected · semver)5.10.14 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
References
2- GitHub Security Advisory (GHSA-j5wg-m2pr-35qc) https://github.com/craftcms/cms/security/advisories/GHSA-j5wg-m2pr-35qc
- VulnCheck Advisory: Craft CMS 4.0.0 before 4.18.7 and 5.0.0 before 5.10.14 Arbitrary File Read via Twig create() DOMDocument 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
Provider assertions
2VulnCheck · cna
Craft CMS 4.0.0 before 4.18.7 and 5.0.0 before 5.10.14 Arbitrary File Read via Twig create() DOMDocument
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- df2507e267ac097c1fbb66e42c8ac2f26b1a02474bb932ec68d7ad8e81dcf25d
- Ingested
- 13 Oct 2026, 17:03:08 UTC
- Source record
- Official CVE record