{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-0217","id":"CVE-2022-0217","title":"It was discovered that an internal Prosody library to load XML based on libexpat does not properly restrict the XML f…","description":"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).","descriptionLong":"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).","published":"2022-08-26T17:25:47.000Z","updated":"2026-06-17T04:20:10.290Z","reserved":"2022-01-13T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["prosody"],"affectedProducts":[{"vendor":"n/a","product":"prosody","defaultStatus":null,"versions":[{"status":"affected","version":"Fixed in prosody 0.11.12, Affects all versions with support for WebSockets."}],"platforms":[]}],"packages":[],"cwes":["CWE-776","CWE-611"],"aliases":[],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2040639","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","report"]},{"url":"https://prosody.im/security/advisory_20220113/","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Vendor Advisory","fix"]},{"url":"https://prosody.im/security/advisory_20220113/1.patch","tags":["x_refsource_MISC","x_transferred","Patch","Vendor Advisory","fix"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.05164,"epssPercentile":0.9261,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-0217","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0217","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-0217","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-0217","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}