CVE-2026-66293
published low CVSS 4.0 · 2.1XML comment injection in Saxy encoder via unescaped double hyphen
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 < 6d12ee12b9e32e86ef598b3f3cafccd1840b2f41 · Other versions: unaffected | Affected | Not stated | EEF |
Description
XML injection in the encoder of Saxy. Saxy.Encoder does not neutralize the -- sequence in XML comment content: escape_comment/2 returns the comment binary unchanged in every clause and only appends a space when the comment ends in a single -, so neither an interior -- nor a full --> is escaped or rejected before the encoder wraps the content in the <!-- and --> delimiters. When an application serializes attacker-controlled text as a comment, through Saxy.XML.comment/1 or a raw {:comment, text} simple form child, the attacker can close the comment early with --> and inject arbitrary sibling markup into the serialized document. A downstream parser then sees elements, attributes, and text that the application never built. Where the document is rendered as HTML or SVG, the injected markup executes as stored cross-site scripting; where it is consumed by another XML processor, the attacker can forge data that the producing application never emitted. Documents that Saxy only parses are not a vector. 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:L/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 < 6d12ee12b9e32e86ef598b3f3cafccd1840b2f41 (affected · git)Default: unaffected | EEF · cna |
Weaknesses
1- CWE-91 CWE-91 XML Injection
References
5- EEF CNA record for CVE-2026-66293 https://cna.erlef.org/cves/CVE-2026-66293.html
- Fix commit 6d12ee1 in qcam/saxy https://github.com/qcam/saxy/commit/6d12ee12b9e32e86ef598b3f3cafccd1840b2f41
- Introducing commit 7266632 in qcam/saxy https://github.com/qcam/saxy/commit/7266632e9407842f28ffac254c56dc41210a5690
- https://github.com/qcam/saxy/security/advisories/GHSA-mm3m-xwmf-v698
- OSV record EEF-CVE-2026-66293 https://osv.dev/vulnerability/EEF-CVE-2026-66293
Provider assertions
2EEF · cna
XML comment injection in Saxy encoder via unescaped double hyphen
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6eb26385bb0643e0e7a045c43907ab4601d25695cf05feb776d922363b6018c6
- Ingested
- 19 Nov 2026, 07:57:07 UTC
- Source record
- Official CVE record