A plain-language summary of this CVE is being written; the description below is the NVD's own text.
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.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /craftcms/cms/security/advisories/GHSA-j5wg-m2pr-35qc
- www.vulncheck.com /advisories/craft-cms-4.0.0-before-4.18.7-and-5.0.0-before-…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning