CVE-2026-109304: Exposure of Sensitive Information to an Unauthorized Actor in craftcms cms
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.
CVSS v4.0
Score 6.9medium
Affected software
craftcms
cms
craftcms
cms
pkg:github/craftcms/cmsRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Craft CMS arises from insufficient blocking in the Twig create() class, specifically the omission of DOMDocument from the blocklist. This allows attackers who can control the entry-type title format to invoke create('DOMDocument').loadHTMLFile() and access local file contents via textContent. The flaw affects Craft CMS versions 4.0.0 up to but not including 4.18.7 and 5.0.0 up to but not including 5.10.14. The vulnerability enables arbitrary file read exposure to unauthorized users with entry viewing permissions but not admin privileges.
Potential Impact
Unauthorized users with the ability to set entry-type title formats can read local files on the server, potentially exposing sensitive information. This can lead to information disclosure without requiring administrative privileges. The vulnerability does not require user interaction and has a medium severity rating with a CVSS 4.0 score of 6.9.
Mitigation Recommendations
A fix is available in Craft CMS versions 4.18.7 and later, and 5.10.14 and later. Users should upgrade to these versions to remediate the vulnerability. No additional mitigation steps are indicated beyond applying the official patches.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-10-12T14:13:39.027Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6acd0c112cdf04f656b11be5
Added to database: 10/12/2026, 16:34:25 UTC
Last enriched: 10/12/2026, 17:19:13 UTC
Last updated: 10/12/2026, 21:46:50 UTC
Views: 9
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.