Skip to main content

Saxy CVE-2026-66294

| EUVDEUVD-2026-118039 LOW
XML Injection (aka Blind XPath Injection) (CWE-91)
2026-11-06 EEF GHSA-w2hc-m8qc-7hgm
2.1
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Submit text field containing ]]> payload
  2. Delivery
    App serializes it via Saxy.XML.cdata node
  3. Exploit
    CDATA section terminates early, markup escapes
  4. Execution
    Injected elements parsed as genuine structure
  5. Impact
    Downstream consumer trusts forged content

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization XPath query parameterization
Exploitation Conditions

Exploitation requires that the application itself place attacker-controlled text into a CDATA node - specifically by building the node with Saxy.XML.cdata/1 and serializing with Saxy.encode!/2 or Saxy.encode_to_iodata!/2 - while running saxy from 0.7.0 up to (but not including) 1.7.0. The attacker's input must contain the ]]> sequence to terminate the CDATA section. Applications that never route untrusted text through a CDATA node are not affected at all, and the character-data and attribute-value paths are safe because they escape XML metacharacters. Limiting factors: impact is confined to document integrity (forged/overridden XML structure accepted by downstream consumers), with no confidentiality or availability effect, and exposure depends entirely on this specific CDATA-with-untrusted-input coding pattern rather than any default configuration.

Impact

This is a genuine but low-urgency integrity flaw, not a high-severity emergency. The CVSS 4.0 base score is only 2.1, and the vendor-supplied vector (AV:L/AC:L/AT:P/PR:N/UI:N) assigns impact only to integrity (VI:L/SI:L) with no confidentiality or availability effect, consistent with CWE-91 XML injection rather than the 'RCE' tag attached to this record (that tag is inaccurate - nothing in the description or patch indicates code execution). The decision signal 'monitor' aligns with the low score: no CISA KEV listing, no EPSS probability supplied, and no public exploit identified. One signal is in tension: the vendor set AV:L (local), yet the realistic abuse paths named in the description - SOAP envelopes, RSS/Atom feeds, sitemaps, SVG and XML exports generated from user-supplied content - typically receive the attacker's text over a network, which would argue for a network vector; the AT:P ('attack requirement present') metric appears to capture the real limiter, namely that the application must specifically render untrusted text inside a CDATA node. Net: a real, patch-worthy correctness/integrity bug for affected Elixir services, but low real-world priority given integrity-only impact and the narrow coding pattern required to be exposed.

Exploit ScenarioDerived

An Elixir service builds an XML document (e.g. an RSS feed or SOAP envelope) by placing a user-supplied text field into a CDATA node via Saxy.XML.cdata/1 and serializing with Saxy.encode!/2. An attacker submits a value containing the sequence ]]> followed by their own markup, prematurely terminating the CDATA section so everything after it is emitted as live XML. Downstream consumers then parse attacker-injected sibling elements and attributes as genuine. No public exploit code is identified at time of analysis.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 06, 2026

XML injection in the Saxy encoder (saxy 0.7.0 up to, but not including, 1.7.0) lets an attacker break out of a CDATA section and inject markup that downstream consumers treat as genuine document structure. The flaw only bites applications that themselves pass untrusted text into Saxy.XML.cdata/1 and then serialize with Saxy.encode!/2 or Saxy.encode_to_iodata!/2: the CDATA path performs no neutralization of the ]]> terminator, so everything after it is emitted as live markup, allowing forged or overridden sibling elements and attributes in generated SOAP, RSS/Atom, sitemap, SVG or XML export documents. Impact is confined to document integrity (no confidentiality or availability effect), the char-data and attribute paths are safe, and no public exploit code was identified at time of analysis; vendor fix is released in 1.7.0, and the priority decision is monitor.

RemediationAI

Upgrade saxy to 1.7.0 or later - vendor-released patch, reflected in commits 71d99fae12f1d6596f5edb57b71f26ba854f4d33 (patch) and 7266632e9407842f28ffac254c56dc41210a5690, with details in the GHSA-hq6g-j46w-wx72 advisory. Where an immediate dependency bump is not possible, stop routing untrusted text through Saxy.XML.cdata/1: emit it as a normal character-data node instead, which the encoder escapes - the trade-off is that the output then contains entity-escaped metacharacters rather than a literal CDATA block, which matters only to consumers that specifically require CDATA. A second compensating option is to reject or pre-split any attacker-supplied ]]> sequence (replacing it with ]]]]><![CDATA[>) before building the node, at the cost of application-side input filtering that must be applied on every code path that constructs CDATA. Applications whose generated documents never mix untrusted text into CDATA need no urgent action beyond routine upgrade.

Affected VersionsENISA

saxy 0.7.0 <1.7.0
saxy 7266632e9407842f28ffac254c56dc41210a5690 <71d99fae12f1d6596f5edb57b71f26ba854f4d33

Affected Packages

euvd saxy fix: 1.7.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Saxy is an Elixir XML library that combines a SAX/simple-form parser with a DSL-based encoder; the encoder turns simple-form tuples such as {"person", [{"gender", "female"}], [{:characters, "Alice"}]} into an XML binary. Its character-data and attribute-value serializers escape the XML metacharacters <, >, &, " and ', but the CDATA serializer behind Saxy.XML.cdata/1 writes the supplied characters verbatim between <![CDATA[ and ]]>. XML offers no escape mechanism inside CDATA, so the only correct representation of a ]]> substring is to split the section and rejoin it (]]]]><![CDATA[>); Saxy neither split nor rejected it. This is CWE-91 (XML injection): untrusted data crosses from a text field into document structure, so injected elements and attributes are accepted as authentic by whatever parses the output. The affected package is cpe:2.3:a:qcam:saxy (0.7.0 <= version < 1.7.0). Note that the supplied tag set labels this 'RCE', but neither the assessed vector (C:N/I:L/A:N, scope-changed integrity only) nor the advisory describes any code-execution path - the realistic consequence is forged or overridden markup consumed by a downstream XML processor.

Know when Saxy gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (EEF) PRIMARY 2.1 LOW
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N
vuln.today AI 5.8 MEDIUM

Untrusted text realistically arrives over the network for feeds/SOAP/exports (AV:N, PR:N); injected markup corrupts a separate downstream consumer document (S:C) with integrity-only, partial impact (I:L).

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N

Primary rating from Vendor (EEF).

CVSS VectorVendor: EEF

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
Low
Subsequent system: Availability
None

DescriptionCVE.org

XML injection in the Saxy XML encoder. Saxy.Encoder.cdata/1 serializes a {:cdata, characters} node by wrapping the supplied characters between <![CDATA[ and ]]> and passing the payload through byte for byte. The encoder's character-data and attribute-value paths escape the XML metacharacters <, >, &, ", and ', but the CDATA path applies no neutralization at all. XML provides no character escaping mechanism inside a CDATA section, so the only correct way to represent a ]]> substring is to split the section and rejoin it as ]]]]><![CDATA[>. Saxy neither performs that split nor rejects the substring.

An application that renders untrusted text as CDATA, by building the node with Saxy.XML.cdata/1 and serializing it with Saxy.encode!/2 or Saxy.encode_to_iodata!/2, therefore lets an attacker terminate the section at a position of their choosing. Everything supplied after the ]]> is emitted outside any CDATA context and is parsed as markup, so a single attacker-controlled text field becomes attacker-controlled document structure: arbitrary sibling elements and attributes that the application never built. Downstream consumers of the serialized document accept the injected markup as genuine. Services that generate SOAP envelopes, RSS or Atom feeds, sitemaps, SVG, or XML exports from user-supplied content can have trusted fields forged or overridden. Applications that never place untrusted text in a CDATA node are not affected.

This issue affects saxy: from 0.7.0 before 1.7.0.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Low
popular Elixir XML library, but Elixir ecosystem is a niche footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Low

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy