CVE-2023-34411
HIGH 7.5CVSS 3.1xml-rs vulnerable to denial of service via invalid token in XML document
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.
- Published
- 5 Jun 2023
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-611CWE-617
- Also known as
- GHSA-7gf7-jv65-wjmh
- Sources
- NVDJSONOSV GHSA-7gf7-jv65-wjmhJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | xml_library_project | xml_librarycpe:2.3:a:xml_library_project:xml_library:*:*:*:*:*:rust:*:* |
< 0.8.14 | 0.8.14 |
| OSV | crates.io | xml-rs | >= 0.8.9, < 0.8.14 | 0.8.14 |
References
- https://github.com/00xc/xml-rs/commit/0f084d45aa53e4a27476961785f59f2bd7d59a9f · Patch, WEB
- https://github.com/netvl/xml-rs/commit/c09549a187e62d39d40467f129e64abf32efc35c · Patch, WEB
- https://github.com/netvl/xml-rs/compare/0.8.13...0.8.14 · Patch, WEB
- https://github.com/netvl/xml-rs/pull/226 · Exploit, 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
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 5 Jun 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Jun 2023)