Intel

AIKIDO-2026-846274

xml_builder is vulnerable to XML Injection

CVE-2026-47079Published Aug 24, 2026
August 24, 2026

21

CVE Score

Low

XML Injection

Are you affected? Scan for Free

TL;DR

The serializer escapes raw angle brackets but leaves existing ampersand entity-like sequences such as &lt; 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.

How do I fix this?

Upgrade the xml_builder library to the patch version.

Who does this affect?

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.

Versions

0.0.6 - 2.4.0

Fixed in 2.4.1

Background info

xml_builder is vulnerable to XML Injection in versions 0.0.6 - 2.4.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea