<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-02T21:45:03.362180+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://db.gcve.eu/vuln/ghsa-8gc5-j5rx-235r</id>
    <title>GHSA-8gc5-j5rx-235r — fast-xml-parser affected by numeric entity expansion bypassing all entity expansion limits (incomplete fix for CVE-2026…</title>
    <updated>2026-10-02T21:45:03.376309+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> npm: fast-xml-parser</p>
<p>## Summary</p>
<p>The fix for CVE-2026-26278 added entity expansion limits (`maxTotalExpansions`, `maxExpandedLength`, `maxEntityCount`, `maxEntitySize`) to prevent XML entity expansion Denial of Service. However, these limits are only enforced for DOCTYPE-defined entities. **Numeric character references** (`&amp;#NNN;` and `&amp;#xHH;`) and standard XML entities (`&amp;lt;`, `&amp;gt;`, etc.) are processed through a separate code path that does NOT enforce any expansion limits.</p>
<p>An attacker can use massive numbers of numeric entity references to completely bypass all configured limits, causing excessive memory allocation and CPU consumption.</p>
<p>## Affected Versions</p>
<p>fast-xml-parser v5.x through v5.5.3 (and likely v5.5.5 on npm)</p>
<p>## Root Cause</p>
<p>In `src/xmlparser/OrderedObjParser.js`, the `replaceEntitiesValue()` function has two separate entity replacement loops:</p>
<p>1. **Lines 638-670**: DOCTYPE entities — expansion counting with `entityExpansionCount` and `currentExpandedLength` tracking. This was the CVE-2026-26278 fix.
2. **Lines 674-677**: `lastEntities` loop — replaces standard entities including `num_dec` (`/&amp;#([0-9]{1,7});/g`) and `num_hex` (`/&amp;#x([0-9a-fA-F]{1,6});/g`). **This loop has NO expansion counting at all.**</p>
<p>The numeric entity regex replacements at lines 97-98 are part of `lastEntities` and go through the uncounted loop, completely bypassing the CVE-2026-26278 fix.</p>
<p>## Proof of Concept</p>
<p>```javascript
const { XMLParser } = require('fast-xml-parser');</p>
<p>// Even with strict explicit lim…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/ghsa-8gc5-j5rx-235r"/>
  </entry>
</feed>
