CVE-2026-66294
published low CVSS 4.0 · 2.1XML injection in Saxy via unescaped CDATA section terminator
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| qcam | — | saxy0.7.0 to < 1.7.0 · Other versions: unaffected | Affected | Not stated | EEF |
| qcam | — | qcam/saxysaxy · 7266632e9407842f28ffac254c56dc41210a5690 to < 71d99fae12f1d6596f5edb57b71f26ba854f4d33 · Other versions: unaffected | Affected | Not stated | EEF |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.1 / 10
- Severity
- low
- Provider
- EEF · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| qcam | saxy | 0.7.0 to < 1.7.0 (affected · semver)Default: unaffected | EEF · cna |
| qcam | saxy | 7266632e9407842f28ffac254c56dc41210a5690 to < 71d99fae12f1d6596f5edb57b71f26ba854f4d33 (affected · git)Default: unaffected | EEF · cna |
Weaknesses
1- CWE-91 CWE-91 XML Injection
References
5- EEF CNA record for CVE-2026-66294 https://cna.erlef.org/cves/CVE-2026-66294.html
- Fix commit 71d99fa in qcam/saxy https://github.com/qcam/saxy/commit/71d99fae12f1d6596f5edb57b71f26ba854f4d33
- Introducing commit 7266632 in qcam/saxy https://github.com/qcam/saxy/commit/7266632e9407842f28ffac254c56dc41210a5690
- https://github.com/qcam/saxy/security/advisories/GHSA-hq6g-j46w-wx72
- OSV record EEF-CVE-2026-66294 https://osv.dev/vulnerability/EEF-CVE-2026-66294
Provider assertions
2EEF · cna
XML injection in Saxy via unescaped CDATA section terminator
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 03a7614ac44238983e33f0592c3dd7d39f81760e2ef54a17f1d729eca161e2a5
- Ingested
- 19 Nov 2026, 07:57:07 UTC
- Source record
- Official CVE record