quick-xml is vulnerable to Denial of Service (DoS)
59
Medium Risk
The XML pull reader and the serde deserializer track nesting depth and namespace scope without effective bounds when handling untrusted input. Deeply nested elements overflow the internal u16 namespace-depth counter and drive the recursive serde deserializer into native call-stack exhaustion, while some malformed inputs let attribute iteration read past the end of the buffer. The fix returns TooDeeplyNested errors, enforces a configurable deserializer recursion limit, and makes attribute iteration stop safely at the buffer boundary.
You are affected if you are using a version that falls within the vulnerable range and your application parses or deserializes untrusted XML input.
quick-xml is vulnerable to Denial of Service (DoS) in versions 0.1.4 - 0.41.0.
Upgrade the quick-xml library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.