xml_builder is vulnerable to XML Injection
21
Low Risk
The serializer escapes raw angle brackets but leaves existing ampersand entity-like sequences such as < untouched instead of re-encoding the ampersand. Input that already contains entity sequences round-trips verbatim, so a downstream parser decodes it back into functional markup. This lets externally influenced text bypass filters that reject raw < and > and inject tags into markup-sensitive output such as HTML, SVG, or RSS feeds. The fix encodes ampersands so entity sequences are neutralized on output.
You are affected if you are using a version that falls within the vulnerable range and you serialize externally influenced text whose output is later parsed or rendered as markup.
xml_builder is vulnerable to XML Injection in versions 0.0.6 - 2.4.0.
Upgrade the xml_builder 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