CVE-2026-47079: joshnuss xml_builder · Inappropriate Encoding for Output Context
Affects joshnuss xml_builderSource CVE Database V5
Not known to be exploited · CVSS 2.1 Low : upgrade to 2.4.1 when convenient.
Data as of 19 Nov 2026, 21:47 UTC
Thin evidence
One scorer or none| CNA (EEF) | CVSS 4.0 | 2.1 |
|---|
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 8% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.4.1, c3390e2046ec297b3bb8c30d5779cdfd6508c275
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 21 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 19 Nov 2026.
What to do
Upgrade xml_builder to 2.4.1; xml_builder to c3390e2046ec297b3bb8c30d5779cdfd6508c275.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| joshnussxml_builder | Affected
| Fixed in
|
| xml_builderjoshnuss/xml_builder | Affected
| Fixed in
|
Hexxml_builderpkg:hex/xml_builderOther threats | Affected
| Fixed in
|
CPE configurations (1)
cpe:2.3:a:joshnuss:xml_builder:*:*:*:*:*:*:*:*
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix for this vulnerability is available in xml_builder version 2.4.1. Users should upgrade to version 2.4.1 or later to remediate the issue. No additional mitigation steps are indicated by the vendor advisory.
Description
CVE-2026-47079 is a vulnerability in the joshnuss xml_builder library that causes improper encoding of output in XML generation. Specifically, the XmlBuilder.generate functions fail to escape literal '&' characters when followed by entity-like tokens, allowing attacker-controlled input such as <script> to be emitted verbatim. This can lead to content spoofing and cross-site scripting (XSS) when downstream XML parsers decode these entities and render the content in markup-sensitive contexts like HTML or RSS feeds. The issue affects versions from 0.0.6 up to but not including 2.4.1.
References
- github.com/joshnuss/xml_builder/security/advisories/GHSA-5hjx-8g53-cmvm (opens in a new tab)
- cna.erlef.org/cves/CVE-2026-47079.html (opens in a new tab)
- osv.dev/vulnerability/EEF-CVE-2026-47079 (opens in a new tab)
- github.com/joshnuss/xml_builder/commit/c3390e2046ec297b3bb8c30d5779cdfd6508c275 (opens in a new tab)
- github.com/joshnuss/xml_builder/commit/aae31e6e8ac837bcbb8afb816c0d14324b5cfe2b (opens in a new tab)