Skip to main content

Improper Restriction of XML External Entity Reference

CVE-2022-48565

Severity High
Score 9.8/10

Summary

An XML External Entity (XXE) issue was discovered in CPython versions 2.3 through 3.5.10rc1, 3.6.0a1 through 3.6.12, 3.7.0a1 through 3.7.9, 3.8.0a1 through 3.8.6, 3.9.0a1 through 3.9.0, and 3.10.0a1. The "plistlib" module no longer accepts entity declarations in XML "plist" files to avoid XML vulnerabilities.

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

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