CVE-2026-66295
Last modified
CVE-2026-66295 is a low-severity vulnerability rated 2.1/10 on the CVSS scale. 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.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| qcam | saxy | >= 0.7.0, < 1.7.0 |
| qcam | saxy | >= 7266632e9407842f28ffac254c56dc41210a5690, < 4aeb80e2acc318f57bd7453ad2eafd59101a90e0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-66295?
How severe is CVE-2026-66295?
How do I fix CVE-2026-66295?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-66280Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-66281In EmberZNet 9.1.1 and earlier, a malformed Discover Attribu…7.5
- CVE-2026-66282In EmberZNet 9.1.1 and earlier, a malformed Publish Billing …7.5
- CVE-2026-6629A vulnerability has been found in Metasoft 美特软件 MetaCRM up t…7.3
- CVE-2026-66293XML injection in the encoder of Saxy. Saxy.Encoder does not …2.1
- CVE-2026-66294XML injection in the Saxy XML encoder. Saxy.Encoder.cdata/1 …2.1
- CVE-2026-66296Improper Neutralization of Input During Web Page Generation …6.1
- CVE-2026-66297Improper Neutralization of Special Elements used in an OS Co…8
- CVE-2026-66298Origin Validation Error vulnerability in livebook-dev livebo…8.8
- CVE-2026-66299Uncontrolled Resource Consumption vulnerability in Apache To…5.3
- CVE-2026-6630A vulnerability was found in Tenda F451 1.0.0.7_cn_svn7958. …8.8
- CVE-2026-66300SNOMED International Snowstorm contains a reflected XSS vuln…5
Are you affected by CVE-2026-66295?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
