<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://db.gcve.eu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Fri, 02 Oct 2026 21:45:04 +0000</lastBuildDate>
    <item>
      <title>GHSA-8gc5-j5rx-235r — fast-xml-parser affected by numeric entity expansion bypassing all entity expansion limits (incomplete fix for CVE-2026…</title>
      <link>https://db.gcve.eu/vuln/ghsa-8gc5-j5rx-235r</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: fast-xml-parser&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;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;amp;#NNN;` and `&amp;amp;#xHH;`) and standard XML entities (`&amp;amp;lt;`, `&amp;amp;gt;`, etc.) are processed through a separate code path that does NOT enforce any expansion limits.&lt;/p&gt;
&lt;p&gt;An attacker can use massive numbers of numeric entity references to completely bypass all configured limits, causing excessive memory allocation and CPU consumption.&lt;/p&gt;
&lt;p&gt;## Affected Versions&lt;/p&gt;
&lt;p&gt;fast-xml-parser v5.x through v5.5.3 (and likely v5.5.5 on npm)&lt;/p&gt;
&lt;p&gt;## Root Cause&lt;/p&gt;
&lt;p&gt;In `src/xmlparser/OrderedObjParser.js`, the `replaceEntitiesValue()` function has two separate entity replacement loops:&lt;/p&gt;
&lt;p&gt;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;amp;#([0-9]{1,7});/g`) and `num_hex` (`/&amp;amp;#x([0-9a-fA-F]{1,6});/g`). **This loop has NO expansion counting at all.**&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;## Proof of Concept&lt;/p&gt;
&lt;p&gt;```javascript
const { XMLParser } = require(&amp;#39;fast-xml-parser&amp;#39;);&lt;/p&gt;
&lt;p&gt;// Even with strict explicit lim…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: fast-xml-parser&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;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;amp;#NNN;` and `&amp;amp;#xHH;`) and standard XML entities (`&amp;amp;lt;`, `&amp;amp;gt;`, etc.) are processed through a separate code path that does NOT enforce any expansion limits.&lt;/p&gt;
&lt;p&gt;An attacker can use massive numbers of numeric entity references to completely bypass all configured limits, causing excessive memory allocation and CPU consumption.&lt;/p&gt;
&lt;p&gt;## Affected Versions&lt;/p&gt;
&lt;p&gt;fast-xml-parser v5.x through v5.5.3 (and likely v5.5.5 on npm)&lt;/p&gt;
&lt;p&gt;## Root Cause&lt;/p&gt;
&lt;p&gt;In `src/xmlparser/OrderedObjParser.js`, the `replaceEntitiesValue()` function has two separate entity replacement loops:&lt;/p&gt;
&lt;p&gt;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;amp;#([0-9]{1,7});/g`) and `num_hex` (`/&amp;amp;#x([0-9a-fA-F]{1,6});/g`). **This loop has NO expansion counting at all.**&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;## Proof of Concept&lt;/p&gt;
&lt;p&gt;```javascript
const { XMLParser } = require(&amp;#39;fast-xml-parser&amp;#39;);&lt;/p&gt;
&lt;p&gt;// Even with strict explicit lim…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/ghsa-8gc5-j5rx-235r</guid>
    </item>
  </channel>
</rss>
