Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit text field containing ]]> payload
-
DeliveryApp serializes it via Saxy.XML.cdata node
-
ExploitCDATA section terminates early, markup escapes
-
ExecutionInjected elements parsed as genuine structure
-
ImpactDownstream 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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).
Primary rating from Vendor (EEF).
CVSS VectorVendor: EEF
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
XML injection in the Saxy Elixir library (versions 0.7.0 through 1.6.x) lets attacker-influenced data written into a pro
Comment-node XML injection in the Saxy Elixir XML library (versions 0.7.0 up to but not including 1.7.0) lets attacker-c
EUVD-2026-118039
GHSA-w2hc-m8qc-7hgm
NVD
CVE.org
EPSS
Exploit-DB