<?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>Thu, 03 Dec 2026 07:41:08 +0000</lastBuildDate>
    <item>
      <title>fkie_cve-2026-141469</title>
      <link>https://db.gcve.eu/vuln/fkie_cve-2026-141469</link>
      <description>&lt;p&gt;fast-xml-parser allows users to process XML from JS object without C/C++ based libraries or callbacks. Prior to version 5.12.1, scanAttributeTokens in src/validator.js resets its cursor to one position after the token start when a leading-whitespace run ends in a stray equals sign. Each loop iteration rescans most of the remaining whitespace, producing quadratic processing time for attacker-controlled XML. The default path is reachable through XMLValidator.validate(xml) and through new XMLParser().parse(xml, true) when validation is enabled, allowing a document of a few hundred kilobytes to block the Node.js event loop for tens of seconds and deny service. This issue affects availability only. This issue is fixed in version 5.12.1.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;fast-xml-parser allows users to process XML from JS object without C/C++ based libraries or callbacks. Prior to version 5.12.1, scanAttributeTokens in src/validator.js resets its cursor to one position after the token start when a leading-whitespace run ends in a stray equals sign. Each loop iteration rescans most of the remaining whitespace, producing quadratic processing time for attacker-controlled XML. The default path is reachable through XMLValidator.validate(xml) and through new XMLParser().parse(xml, true) when validation is enabled, allowing a document of a few hundred kilobytes to block the Node.js event loop for tens of seconds and deny service. This issue affects availability only. This issue is fixed in version 5.12.1.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/fkie_cve-2026-141469</guid>
    </item>
    <item>
      <title>GHSA-7cfw-w2rf-f3jc — fast-xml-parser: Quadratic-time (ReDoS-class) denial of service in XMLValidator attribute scanner, default options</title>
      <link>https://db.gcve.eu/vuln/ghsa-7cfw-w2rf-f3jc</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;Reported by Nikhil Agrawal, Mettle Labs; reproduced only against a clean local install of `fast-xml-parser@5.11.2` on their own machine. `scanAttributeTokens` in `src/validator.js` rescans a leading-whitespace run on every loop iteration when it hits a stray `=`, giving Theta(n^2) time. A few-hundred-KB input stalls the event loop for tens of seconds. Reachable on the default path via both `XMLValidator.validate(xml)` and `new XMLParser().parse(xml, true)`, no non-default options.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;`src/validator.js`, `scanAttributeTokens` — on a `=` with no attribute name before it, `i` is reset to one past the **token start**, not past the `=`, so the leading-whitespace scan repeats:&lt;/p&gt;
&lt;p&gt;```js
function scanAttributeTokens(attrStr) {
  const tokens = [];
  const len = attrStr.length;
  let i = 0;
  while (i &amp;lt; len) {
    const tokenStart = i;
    // Leading whitespace before the name.
    while (i &amp;lt; len &amp;amp;&amp;amp; isWhiteSpace(attrStr[i])) i++;
    if (i &amp;gt;= len) break;
    if (attrStr[i] === &amp;#39;=&amp;#39;) {
      // No name before this &amp;#39;=&amp;#39; — not a valid attribute start.
      i = tokenStart + 1;      // &amp;lt;-- rewinds to tokenStart+1, NOT past the &amp;#39;=&amp;#39; -&amp;gt; re-scans the whitespace
      continue;
    }
    ...
```&lt;/p&gt;
&lt;p&gt;For an attribute string of the shape `&amp;lt;whitespace run&amp;gt; =`, each outer iteration advances `tokenStart` by one but re-walks the entire remaining whitespace run up to the `=`, so total work is quadratic in the run length. It is reached whenever an element&amp;#39;s attribute section is scan…&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;Reported by Nikhil Agrawal, Mettle Labs; reproduced only against a clean local install of `fast-xml-parser@5.11.2` on their own machine. `scanAttributeTokens` in `src/validator.js` rescans a leading-whitespace run on every loop iteration when it hits a stray `=`, giving Theta(n^2) time. A few-hundred-KB input stalls the event loop for tens of seconds. Reachable on the default path via both `XMLValidator.validate(xml)` and `new XMLParser().parse(xml, true)`, no non-default options.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;`src/validator.js`, `scanAttributeTokens` — on a `=` with no attribute name before it, `i` is reset to one past the **token start**, not past the `=`, so the leading-whitespace scan repeats:&lt;/p&gt;
&lt;p&gt;```js
function scanAttributeTokens(attrStr) {
  const tokens = [];
  const len = attrStr.length;
  let i = 0;
  while (i &amp;lt; len) {
    const tokenStart = i;
    // Leading whitespace before the name.
    while (i &amp;lt; len &amp;amp;&amp;amp; isWhiteSpace(attrStr[i])) i++;
    if (i &amp;gt;= len) break;
    if (attrStr[i] === &amp;#39;=&amp;#39;) {
      // No name before this &amp;#39;=&amp;#39; — not a valid attribute start.
      i = tokenStart + 1;      // &amp;lt;-- rewinds to tokenStart+1, NOT past the &amp;#39;=&amp;#39; -&amp;gt; re-scans the whitespace
      continue;
    }
    ...
```&lt;/p&gt;
&lt;p&gt;For an attribute string of the shape `&amp;lt;whitespace run&amp;gt; =`, each outer iteration advances `tokenStart` by one but re-walks the entire remaining whitespace run up to the `=`, so total work is quadratic in the run length. It is reached whenever an element&amp;#39;s attribute section is scan…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/ghsa-7cfw-w2rf-f3jc</guid>
    </item>
  </channel>
</rss>
