Skip to content

cms

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

CVE-2026-109304Published 12 Oct 2026, 16:05 UTC

Real-world risk

1.4/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

6.9

scored by the vendor (CNA), CVSS 4.0

In plain words

No plain-language summary yet. The original description is below.

Original description (from VulnCheck)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
cmsCommon>= 4.0.0, < 4.18.7; >= 5.0.0, < 5.10.144.18.7, 5.10.14

What to do

Update to a fixed version: 4.18.7, 5.10.14.

Why this score

FactorValueEvidence×
ImpactMajor data exposureReads secrets, credentials, databases, arbitrary filesFrom the CVSS vector0.80
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededHighAdmin or equivalentFrom the CVSS vector0.20
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.3% chance of exploitation in 30 days (percentile 26), as of 2026-12-04.

The arithmetic
  1. Prerequisites multiplied together0.200
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.8 × prerequisites 0.2 × threat 0.851.360
  4. Rounded to one decimal between 0.1 and 101.4

How the score works

Exploitation and evidence timeline

  1. 12 Oct 2026 Published
  2. 3 Dec 2026 Risk 1.4 (cvss fallback)

Weakness

CWE-200

References

Get alerts for cms

Free email or text alerts when a vulnerability in cms reaches risk 8 or higher. Nothing else.