Intel

AIKIDO-2026-116335

camel-saxon is vulnerable to Improper Restriction of XML External Entity Reference

CVE-2026-90885Published Nov 2, 2026
November 2, 2026

75

CVE Score

High

Improper Restriction of XML External Entity Reference

Are you affected? Scan for Free

TL;DR

XQueryBuilder handed a message body that already arrived as a javax.xml.transform.Source to Saxon and parsed it with a default Configuration whose parse options set only a whitespace stripping rule, so a DOCTYPE was accepted and external entities resolved. Anyone able to send XML into a route that evaluates xquery on such a body, for example after convertBodyTo(Source.class), could make it read local files or fetch remote resources. The fix disallows DOCTYPE declarations and disables external general and parameter entities and external DTD loading in the default Configuration.

How do I fix this?

Upgrade the camel-saxon package to a patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and evaluate xquery on message bodies that arrive as a javax.xml.transform.Source.

Versions

4.0.0 - 4.18.4

Fixed in 4.18.5

4.19.0 - 4.22.1

Fixed in 4.22.2

Background info

camel-saxon is vulnerable to Improper Restriction of XML External Entity Reference in versions 4.0.0 - 4.18.4 and 4.19.0 - 4.22.1.

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