XXE in Python
CVE-2022-48565
An XML External Entity (XXE) issue was discovered in Python through 3.9.1. The plistlib module no longer accepts entity declarations in XML plist files to avoid XML vulnerabilities.
Vulnerability class: XXE (XML External Entity)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.052, 92.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Python
- Debian Linux — versions 10.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- Einstein2150/CVE-2022-48565-POC (3 stars, last pushed 2024-10-28): A proof-of-concept for CVE-2022-48565 - python plistlib XML deserialisation attack
Also mentioned in 4 other repositories (Dgporte/ExerciciosDockerPB2025, Einstein2150/CVE-2022-48656-POC, MayurManjrekar/DevSecOps-Demo, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- bugs.python.org/issue42051 (Exploit, Patch, Issue Tracking, Vendor Advisory)
- [debian-lts-announce] 20230920 [SECURITY] [DLA 3575-1] python2.7 security update (mailing-list, Third Party Advisory)
- security.netapp.com/advisory/ntap-20231006-0007/
- [debian-lts-announce] 20231011 [SECURITY] [DLA 3614-1] python3.7 security update (mailing-list)
- FEDORA-2023-e47078af3e (vendor-advisory)
- FEDORA-2023-348a0dbcf3 (vendor-advisory)
- FEDORA-2023-ea38857cc3 (vendor-advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.