Skip to main content

Improper Restriction of XML External Entity Reference

CVE-2026-45071

Severity High
Score 8.7/10

Summary

Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Prior to version 5.4.52, 6.x prior to 6.4.40, 7.x prior to 7.4.12 and 8.x prior to 8.0.12, `Crawler::addXmlContent()` set `DOMDocument::$validateOnParse = true` before `loadXML()`, re-enabling external entity resolution and allowing attacker-supplied XML to expand `file://` entities such as local files. This issue is fixed in versions 5.4.52, 6.4.40, 7.4.12, and 8.0.12.

  • LOW
  • NETWORK
  • NONE
  • UNCHANGED
  • NONE
  • NONE
  • HIGH
  • NONE

CWE-611 - Improper Restriction of XML External Entity Reference

Listed 4th in the 'OWASP Top Ten', XML External Entities (XXE) vulnerability allows attackers to provide an XML input that contains an external entity. When the XML is parsed, it can cause data extraction and manipulation, execution of commands, denial-of-service attacks, and server-side request forgery.

Advisory Timeline

  • Published