XXE in Prosody

CVE-2022-0217

It was discovered that an internal Prosody library to load XML based on libexpat does not properly restrict the XML features allowed in parsed XML data. Given suitable attacker input, this results in expansion of recursive entity references from DTDs (CWE-776). In addition, depending on the libexpat version used, it may also allow injections using XML External Entity References (CWE-611).

EPSS: 0.046 (90.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Affected products

  • Prosody
  • N/a Prosody — versions Fixed in prosody 0.11.12, Affects all versions with support for WebSockets.

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2022-0217?
CVE-2022-0217 is a high-severity vulnerability in Prosody, classified under Improper Restriction of Recursive Entity References in DTDs (XML Entity Expansion). CVSS score: 7.5/10. Published 2022-08-26.
How severe is CVE-2022-0217?
High severity. CVSS v3 base score is 7.5 out of 10.