<?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 01:55:13 +0000</lastBuildDate>
    <item>
      <title>GHSA-w7fw-mjwx-w883 — qs's arrayLimit bypass in comma parsing allows denial of service</title>
      <link>https://db.gcve.eu/vuln/ghsa-w7fw-mjwx-w883</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: qs&lt;/p&gt;
&lt;p&gt;### Summary
The `arrayLimit` option in qs does not enforce limits for comma-separated values when `comma: true` is enabled, allowing attackers to cause denial-of-service via memory exhaustion. This is a bypass of the array limit enforcement, similar to the bracket notation bypass addressed in GHSA-6rw7-vpxm-498p (CVE-2025-15284).&lt;/p&gt;
&lt;p&gt;### Details
When the `comma` option is set to `true` (not the default, but configurable in applications), qs allows parsing comma-separated strings as arrays (e.g., `?param=a,b,c` becomes `[&amp;#39;a&amp;#39;, &amp;#39;b&amp;#39;, &amp;#39;c&amp;#39;]`). However, the limit check for `arrayLimit` (default: 20) and the optional throwOnLimitExceeded occur after the comma-handling logic in `parseArrayValue`, enabling a bypass. This permits creation of arbitrarily large arrays from a single parameter, leading to excessive memory allocation.&lt;/p&gt;
&lt;p&gt;**Vulnerable code** (lib/parse.js: lines ~40-50):
```js
if (val &amp;amp;&amp;amp; typeof val === &amp;#39;string&amp;#39; &amp;amp;&amp;amp; options.comma &amp;amp;&amp;amp; val.indexOf(&amp;#39;,&amp;#39;) &amp;gt; -1) {
    return val.split(&amp;#39;,&amp;#39;);
}&lt;/p&gt;
&lt;p&gt;if (options.throwOnLimitExceeded &amp;amp;&amp;amp; currentArrayLength &amp;gt;= options.arrayLimit) {
    throw new RangeError(&amp;#39;Array limit exceeded. Only &amp;#39; + options.arrayLimit + &amp;#39; element&amp;#39; + (options.arrayLimit === 1 ? &amp;#39;&amp;#39; : &amp;#39;s&amp;#39;) + &amp;#39; allowed in an array.&amp;#39;);
}&lt;/p&gt;
&lt;p&gt;return val;
```
The `split(&amp;#39;,&amp;#39;)` returns the array immediately, skipping the subsequent limit check. Downstream merging via `utils.combine` does not prevent allocation, even if it marks overflows for sparse arrays.This discrepancy allows attackers to send a single…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: qs&lt;/p&gt;
&lt;p&gt;### Summary
The `arrayLimit` option in qs does not enforce limits for comma-separated values when `comma: true` is enabled, allowing attackers to cause denial-of-service via memory exhaustion. This is a bypass of the array limit enforcement, similar to the bracket notation bypass addressed in GHSA-6rw7-vpxm-498p (CVE-2025-15284).&lt;/p&gt;
&lt;p&gt;### Details
When the `comma` option is set to `true` (not the default, but configurable in applications), qs allows parsing comma-separated strings as arrays (e.g., `?param=a,b,c` becomes `[&amp;#39;a&amp;#39;, &amp;#39;b&amp;#39;, &amp;#39;c&amp;#39;]`). However, the limit check for `arrayLimit` (default: 20) and the optional throwOnLimitExceeded occur after the comma-handling logic in `parseArrayValue`, enabling a bypass. This permits creation of arbitrarily large arrays from a single parameter, leading to excessive memory allocation.&lt;/p&gt;
&lt;p&gt;**Vulnerable code** (lib/parse.js: lines ~40-50):
```js
if (val &amp;amp;&amp;amp; typeof val === &amp;#39;string&amp;#39; &amp;amp;&amp;amp; options.comma &amp;amp;&amp;amp; val.indexOf(&amp;#39;,&amp;#39;) &amp;gt; -1) {
    return val.split(&amp;#39;,&amp;#39;);
}&lt;/p&gt;
&lt;p&gt;if (options.throwOnLimitExceeded &amp;amp;&amp;amp; currentArrayLength &amp;gt;= options.arrayLimit) {
    throw new RangeError(&amp;#39;Array limit exceeded. Only &amp;#39; + options.arrayLimit + &amp;#39; element&amp;#39; + (options.arrayLimit === 1 ? &amp;#39;&amp;#39; : &amp;#39;s&amp;#39;) + &amp;#39; allowed in an array.&amp;#39;);
}&lt;/p&gt;
&lt;p&gt;return val;
```
The `split(&amp;#39;,&amp;#39;)` returns the array immediately, skipping the subsequent limit check. Downstream merging via `utils.combine` does not prevent allocation, even if it marks overflows for sparse arrays.This discrepancy allows attackers to send a single…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/ghsa-w7fw-mjwx-w883</guid>
    </item>
  </channel>
</rss>
