Home / joshnuss / xml_builder / CVE-2026-47079
CVE-2026-47079: is it exploited, and which versions of joshnuss xml_builder are affected and fixed?
CVE-2026-47079 is an inappropriate Encoding for Output Context vulnerability in joshnuss xml_builder. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: xml_builder from 0.0.6 before 2.4.1 (CVE record by EEF). Fixed in 2.4.1 (CVE record by EEF). Severity: Low (2.1, CVSS 4.0, from EEF).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 08:54 UTC and NVD November 19, 2026, 10:04 UTC.
What is CVE-2026-47079?
Round-trip Corruption via Improper Entity Escaping in xml_builder
Inappropriate Encoding for Output Context vulnerability in joshnuss xml_builder (XmlBuilder module) allows Content Spoofing, Cross-site Scripting. This vulnerability is associated with program files lib/xml_builder.ex and program routines XmlBuilder.generate/1, XmlBuilder.generate/2, XmlBuilder.escape_string/1, XmlBuilder.escape_entity/1. XmlBuilder.generate/1 does not escape literal & characters in text or attribute values when they are followed by an entity-like token (lt;, gt;, amp;, quot;, apos;). As a result, attacker-supplied input such as <script> is emitted verbatim into the serialized XML rather than being escaped to &lt;script&gt;. When a downstream XML parser later reads the document, it decodes the entity sequences into the literal characters <script>, promoting inert-looking text into real markup. This allows an attacker to bypass upstream filters that block raw < and > characters, injecting markup into any downstream consumer that parses the produced XML and renders the text content in a markup-sensitive context (HTML, SVG, RSS/Atom feeds). Both element text and attribute values are affected. This issue affects xml_builder: from 0.0.6 before 2.4.1.
From the CVE record by EEF, last updated November 19, 2026, 08:43 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| joshnuss | xml_builder | from 0.0.6 before 2.4.1 | 2.4.1 |
| joshnuss | xml_builder joshnuss/xml_builder | not stated |
As the CVE record by EEF states it, last updated November 19, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-47079?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 2.1 | CVSS 4.0 | 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 | EEF |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-47079 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, August 21, 2026)
- EPSS
- 0.14% probability of exploitation activity in the next 30 days, percentile 3.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-838 Inappropriate Encoding for Output Context
Where are the vendor advisories and references?
- https://github.com/joshnuss/xml_builder/security/advisories/GHSA-5hjx-8g53-cmvm vendor-advisory, related
- EEF CNA record for CVE-2026-47079 related
- OSV record EEF-CVE-2026-47079 related
- Introducing commit aae31e6 in joshnuss/xml_builder related
- Fix commit c3390e2 in joshnuss/xml_builder patch
Who found and reported it?
- Peter Ullrich (finder)
- Jonatan Männchen / EEF (coordinator)
- Joshua Nussbaum (remediation developer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- May 18, 2026
- Published
- August 21, 2026, 09:52 UTC
- CVE record updated
- November 19, 2026, 08:43 UTC by EEF
- NVD
- Awaiting Analysis, last modified November 19, 2026, 09:17 UTC
- Last checked
- CVE list November 19, 2026, 08:54 UTC; NVD November 19, 2026, 10:04 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect xml_builder?
- Aug 21, 2026CVE-2026-48590 joshnuss xml_builder: XML injection
- Aug 21, 2026CVE-2026-47080 joshnuss xml_builder: XML injection
Questions about CVE-2026-47079
Is CVE-2026-47079 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 0.14% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of joshnuss xml_builder are affected by CVE-2026-47079?
xml_builder from 0.0.6 before 2.4.1, per the CVE record by EEF. The tables above give every range the sources list.
Which version fixes CVE-2026-47079?
2.4.1, per the CVE record by EEF. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-47079?
Low (2.1, CVSS 4.0, from EEF). The severity table above shows each score with its source.
Where is the official record of CVE-2026-47079?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.