Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit untrusted value to application
-
DeliveryValue passed to processing_instruction builder
-
ExploitPayload '?>...<?'' closes PI and injects markup
-
ExecutionSerialized document silently altered
-
ImpactDownstream parser/browser reads forged XML tree
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 build an XML document with Saxy and pass attacker-influenced data as the target or content of a processing instruction via the documented Saxy.XML.processing_instruction/2 builder, then serialize and expose or forward that document to a downstream XML/SVG consumer. Affected versions are saxy 0.7.0 up to (but not including) 1.7.0. Key limiting factors: only processing instructions are vulnerable - character data, attribute values, and comments are escaped by the encoder, so an application that never routes untrusted input into a PI is unaffected; the attacker needs no special authentication to supply the data, but the application must actually use the PI builder with that data (hence CVSS 4.0 AT:P); and the severity of the outcome depends entirely on what consumes the output (another system's import, a stylesheet/rendering directive, or active content served to a browser). |
| Impact | Signals point consistently to a low real-world priority. The vendor CVSS 4.0 score is 2.1 (low), the vuln.today decision label is 'monitor', there is no CISA KEV listing, no EPSS score was provided, and no public exploit was supplied in the input. CWE-91 (XML injection) and the description confine impact to document integrity (VI:L/SI:L), with no confidentiality or availability loss and no code execution - so the 'RCE' tag in the input materially overstates the flaw and conflicts with both the CWE and the description. The main caveat is exploitability dependence: this is a library flaw that only bites when an application feeds untrusted data into Saxy's processing-instruction builder, which the CVSS 4.0 AT:P captures. One signal tension to flag: the vendor chose AV:L, but in the realistic dangerous case (XML/SVG or a feed built from user input and then served or forwarded) the untrusted data and the affected output are both network-facing, so a network vector is defensible - verify how attacker input reaches the encoder in your deployment. EPSS absence is not evidence of low probability, merely missing data. Net: a genuine integrity bug worth patching on a normal cycle, not an emergency. |
| Exploit ScenarioDerived | An Elixir application uses Saxy to serialize an XML feed, export, or SVG and inserts a user-supplied value into a processing instruction via the public Saxy.XML.processing_instruction/2 builder. An attacker submits a value containing '?>' followed by crafted markup and a trailing '<?', which Saxy emits verbatim; the serialized document silently gains attacker-controlled elements, attributes, or directives that a downstream parser or browser then reads as legitimate. No public proof-of-concept exploit was identified in the provided sources. |
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 Elixir library (versions 0.7.0 through 1.6.x) lets attacker-influenced data written into a processing instruction escape the <?...?> construct and be serialized as ordinary markup at document level, so the tree the application encodes and the tree a downstream parser reads back diverge. The flaw is reachable through the documented public builder Saxy.XML.processing_instruction/2 without any API misuse, and enables forged elements, attributes, further processing instructions, or rendering directives in the output; character data, attribute values, and comments are escaped normally, so only applications that route untrusted input into a PI are affected. The CVSS 4.0 base score is 2.1 (AT:P, integrity-only, S:I) and the independent assessment scores it CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N; no public exploit has been identified at time of analysis and vendor priority is 'monitor', so real-world urgency is low and entirely dependent on what consumes the serialized document.
RemediationAI
Upgrade saxy to 1.7.0 or later; the vendor fix is available and the patch commit is 4aeb80e2acc318f57bd7453ad2eafd59101a90e0 (with 7266632e9407842f28ffac254c56dc41210a5690 as the accompanying encoder/documentation commit), and the advisory GHSA-f9r9-vrxq-g566 should be used to confirm the release containing the fix. If upgrading immediately is not possible, the compensating control is to treat processing-instruction target and content as untrusted input at the call site: reject or strip any '?>' sequence from both fields, enforce the XML Name production on the target, and avoid routing user-supplied data into Saxy.XML.processing_instruction/2 at all - noting the trade-off that this validation burden falls entirely on the application, since the encoder performs no escaping for this construct while continuing to escape character data, attributes and comments. Where the serialized document is forwarded to another system or served to a browser as XML or SVG, sanitizing or re-parsing the output before consumption limits the downstream impact of forged records or injected rendering directives. Vendor priority is 'monitor' and no public exploit has been identified, so this is not an emergency patch, but the fix should be picked up on the normal dependency-update cycle.
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 SAX parser that also ships an encoder (Saxy.XML builder API plus Saxy.encode!/2 and Saxy.encode_to_iodata!/2). Its encoder handles the processing-instruction construct by concatenating the caller-supplied target and content verbatim between the literal delimiters '<' '?' and '?' '>', with no validation of either field. This is the classic CWE-91 (XML Injection / improper neutralization of special elements in generated XML output) pattern: because '?>' is the terminator of a processing instruction, any target or content value containing that sequence closes the construct early, and everything after it is emitted as markup at document level - allowing arbitrary elements, attributes and further PIs to be injected. Appending a matching '<?' keeps the encoder's own closing terminator well-formed, so the injected document still parses and the tampering is silent rather than a parse error. The PI target is additionally not checked against the XML Name production, permitting injection ahead of the remainder of the PI. Saxy escapes character data, attribute values and comments, so processing instructions were the single construct passing user bytes through unmodified; the underlying technology exposure is therefore an encoder-side escaping gap, not a parser flaw, and the trigger is the documented Saxy.XML.processing_instruction/2 builder being fed attacker-influenced values before serialization.
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
Integrity-only injection with no confidentiality/availability loss; low complexity to insert '?>'; network-reachable when output is served/forwarded; scope change (S:C) because impact lands on a downstream parser; vendor used AV:L.
Primary rating from Vendor (EEF).
CVSS VectorVendor: EEF
DescriptionCVE.org
Saxy's XML encoder writes the target and the content of a processing instruction into the output document verbatim, without validation or escaping. The encoder builds the construct by concatenating both fields between <? and ?>, so neither field is checked against the constraints the XML specification places on it.
Because ?> terminates a processing instruction, a target or content value containing that sequence closes the construct at a position the attacker chooses. Everything the attacker writes after it is emitted as ordinary markup at document level, which allows arbitrary elements, attributes, and further processing instructions to be injected into the serialized document. Appending a matching <? keeps the encoder's own terminator well-formed, so the result still parses and the injection is silent rather than a visible corruption. The target is additionally unconstrained by the XML Name production, which permits injection before the remainder of the processing instruction.
The result is XML injection into a serialized document: the tree the application asks Saxy to encode and the tree a downstream parser reads back are no longer the same. Character data, attribute values, and comments are all escaped by the encoder, so processing instructions are the one construct that passes user bytes through untouched. Since Saxy.XML.processing_instruction/2 is a documented public builder, an application inherits the flaw without misusing the API. The consequences depend on what consumes the XML: forged records in a feed or export read by another system, injected stylesheet or rendering directives, or active content where the output is served to a browser as XML or SVG.
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 encoder (saxy 0.7.0 up to, but not including, 1.7.0) lets an attacker break out of a CDATA sec
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-118038
GHSA-wm7q-49mg-7frh
NVD
CVE.org
EPSS
Exploit-DB