CVE-2026-47080
published low CVSS 4.0 · 2.1CDATA Section Breakout via Unsanitised ]]> in xml_builder
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| joshnuss | — | xml_builder0.0.7 to < 2.4.1 · Other versions: unaffected | Affected | Not stated | EEF |
| joshnuss | — | joshnuss/xml_builderxml_builder · 26766f884ed19adee1563522c7afb5f056a6f3b5 to < bfb1ada071ccc1e384c30f782197ca5154106706 · Other versions: unaffected | Affected | Not stated | EEF |
Description
XML Injection vulnerability in joshnuss xml_builder (XmlBuilder module) allows Content Spoofing, XML Injection. This vulnerability is associated with program files lib/xml_builder.ex and program routines XmlBuilder.generate/1, XmlBuilder.generate/2, XmlBuilder.escape/1. The escape/1 clause for {:cdata, data} in lib/xml_builder.ex concatenates data verbatim between the CDATA opener <![CDATA[ and closer ]]> without rewriting or splitting on the embedded ]]> sequence. Because CDATA sections have no internal escape mechanism, the only safe way to embed arbitrary bytes is to split on ]]> and emit adjacent CDATA sections. An attacker who can supply input containing ]]> closes the CDATA section early; any bytes that follow are parsed as ordinary XML markup by downstream consumers, allowing injection of arbitrary elements, text, or entity references into the output document. This issue affects xml_builder: from 0.0.7 before 2.4.1.
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:N/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 |
|---|---|---|---|
| joshnuss | xml_builder | 0.0.7 to < 2.4.1 (affected · semver)Default: unaffected | EEF · cna |
| joshnuss | xml_builder | 26766f884ed19adee1563522c7afb5f056a6f3b5 to < bfb1ada071ccc1e384c30f782197ca5154106706 (affected · git)Default: unaffected | EEF · cna |
Weaknesses
1- CWE-91 CWE-91 XML Injection
References
6- EEF CNA record for CVE-2026-47080 https://cna.erlef.org/cves/CVE-2026-47080.html
- Introducing commit 26766f8 in joshnuss/xml_builder https://github.com/joshnuss/xml_builder/commit/26766f884ed19adee1563522c7afb5f056a6f3b5
- Fix commit bfb1ada in joshnuss/xml_builder https://github.com/joshnuss/xml_builder/commit/bfb1ada071ccc1e384c30f782197ca5154106706
- https://github.com/joshnuss/xml_builder/security/advisories/GHSA-67r9-hmxw-h595
- OSV record EEF-CVE-2026-47080 https://osv.dev/vulnerability/EEF-CVE-2026-47080
- https://vincent.vulcoord.net/score/?state=Not+Scored&year=2026&year=2025&assigned_to=88bc49d9-8ddd-4227-affc-a613e67abc4d&ordering=-published&cve=CVE-2026-47080
Provider assertions
2EEF · cna
CDATA Section Breakout via Unsanitised ]]> in xml_builder
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 92d3f44ce074fb59cc85002d6223775b953e9aef952bc03852ef9ef8623740ce
- Ingested
- 19 Nov 2026, 08:49:09 UTC
- Source record
- Official CVE record