All vulnerabilities

Hex

CVE-2026-66295

Processing instruction target and content emitted unescaped in Saxy encoder allows XML injection

Severity
Low 2.1
Published
6 Nov 2026
Last changed
19 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
1.7.0
Exploit chance
0.2% in the next 30 daysHigher than 6% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
XML injection (CWE-91)
Attack
Needs local access · Only under certain conditions · No login needed · No user action needed
Attacker can
Change some data
CVSS vector
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
Sources
CVE Program

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.

From the CVE Program. Shortened; the full text is there.

Affected software

SoftwareAffected versions
saxyHex · osv:Hex:saxy
  • From 0.7.0 before 1.7.0

About saxy

Vulnerabilities in saxy

In our list
3
Published in the last 12 months
3
Critical, last 12 months
0
High, last 12 months
0
Known exploited
0
Search the list for saxy

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-66295