{"schemaVersion":3,"id":"CVE-2026-109304","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-10-12T16:05:00.860Z","modified":"2026-10-13T16:55:02.469Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.9,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"NVD","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":6.9,"severity":"medium","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":4.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6.9,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":4.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00314,"percentile":0.22912,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-10-13T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00314,"percentile":0.22912}],"last30":[{"date":"2026-10-13T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00314,"percentile":0.22912}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor","description":"The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/200.html"}],"affected":[{"vendor":"craftcms","product":"cms","name":"cms","label":"cms","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.0.0, < 4.18.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.0.0, < 5.10.14","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.0.0, < 4.18.7 | ≥ 5.0.0, < 5.10.14","eol":null,"hubHref":"/vendor/craftcms/cms"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/craftcms/cms/security/advisories/GHSA-j5wg-m2pr-35qc","label":"github.com/craftcms/cms/security/advisories/GHSA-j5wg-m2pr-35qc","hostname":"github.com","tags":["Vendor Advisory"]},{"url":"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","label":"www.vulncheck.com/advisories/…","hostname":"www.vulncheck.com","tags":["Third Party Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-12T16:05:00.860Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-13T16:55:02.469Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":28,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T00:05:23.932Z","stale":false,"partial":false}}