# CVE-2023-34411: xml-rs vulnerable to denial of service via invalid token in XML document

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.16%, higher than 68% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-06-05T00:00:00.000Z
- Modified: 2026-06-17T06:03:35.460Z
- Also known as: GHSA-7gf7-jv65-wjmh
- Weaknesses: CWE-611, CWE-617
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: mitre

## Description

The xml-rs crate before 0.8.14 for Rust and Crab allows a denial of service (panic) via an invalid <! token (such as <!DOCTYPEs/%<!A nesting) in an XML document. The earliest affected version is 0.8.9.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- xml-rs (crates.io): from 0.8.9 before 0.8.14
- xml_library_project xml_library: before 0.8.14

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/netvl/xml-rs/pull/226> (exploit, web)
- <https://github.com/00xc/xml-rs/commit/0f084d45aa53e4a27476961785f59f2bd7d59a9f> (patch, web)
- <https://github.com/netvl/xml-rs/compare/0.8.13...0.8.14> (patch, web)
- <https://github.com/netvl/xml-rs/commit/c09549a187e62d39d40467f129e64abf32efc35c> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-34411> (advisory)
- <https://github.com/netvl/xml-rs/commit/014d808be900c85a0afc5ccdfe668be040d175aa> (web)
- <https://github.com/netvl/xml-rs> (package)

## Sources

- CVE List: [CVE-2023-34411](https://www.cve.org/CVERecord?id=CVE-2023-34411), CVE Terms of Use, modified 2025-01-08
- GitHub Advisory Database: [GHSA-7gf7-jv65-wjmh](https://github.com/advisories/GHSA-7gf7-jv65-wjmh), CC-BY-4.0, modified 2025-01-08
- NVD: [CVE-2023-34411](https://nvd.nist.gov/vuln/detail/CVE-2023-34411), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-34411 · Whole record: https://cve.day/CVE-2023-34411.json · Rebuilt by cve.day 2026-11-25T22:58:24.584Z
