Skip to content
Fencer Intel
high 7.5

CVE-2022-31471 json

untangle vulnerable to Improper Restriction of XML External Entity Reference

published 4y ago modified 4mo ago also GHSA-f83q-2cp7-qrjg , PYSEC-2022-244 , EUVD-2022-0350

cvss
7.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.7%
EPSS 1.7% chance of exploitation in 30 days, percentile 77%
public exploits
0
none known

Summary

untangle is a python library to convert XML data to python objects. untangle versions 1.2.0 and earlier improperly restricts XML external entity references. By exploiting this vulnerability, a remote unauthenticated attacker may read the contents of local files.

Patch / fix

  • pypi untangle 1.2.1
  • python-untangle Debian 14, Debian 13, Debian 12 1.2.1-1

debian advisories DEBIAN-CVE-2022-31471

Is CVE-2022-31471 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Exploit prediction

1.70% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
pypi untangle
<1.2.1
1.2.1

Affected products

  • Christian Stefanescu untangle

Classification

Weakness
  • CWE-611 Improper Restriction of XML External Entity Reference

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.