StraitOfVuln
Latest / CVE-2026-66295

CVE-2026-66295

LowCVSS 2.1 (v4.0)Deferred
CVE.org ↗NVD ↗

Description

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.

Details

CVE ID
CVE-2026-66295
Published / updated
06 Nov 2026, 11:17 UTC · last modified 12 Nov 2026, 20:07 UTC
Severity
LOW
CVSS score
2.1 · v4.0 · 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X · Attack vector: Local
Affected vendor
qcam
Affected products
saxy
Affected versions
saxy: 0.7.0 to before 1.7.0
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
saxy 1.7.0
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.21% probability of exploitation in the next 30 days · 12% percentile (02 Dec 2026)
Weakness
Remediation
See the vendor advisory below.
Source (CNA)
6b3ad84c-e1a6-4bf7-a703-f496b71e49db