CVE catalog

CVE-2025-15284

node-qs: CVE-2025-15284

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.45% · Oct 25, 2026

Improper Input Validation vulnerability in qs (parse modules) allows HTTP DoS.This issue affects qs: < 6.14.1. Summary The arrayLimit option in qs did not enforce limits for bracket notation (a[]=1&a[]=2), only for indexed notation (a[0]=1). This is a consistency bug; arrayLimit should apply uniformly across all array notations. Note: The default parameterLimit of 1000 effectively mitigates the DoS scenario originally described. With default options, bracket notation cannot produce arrays larger than parameterLimit regardless of arrayLimit, because each a[]=valueconsumes one parameter slot. The severity has been reduced accordingly. Details The arrayLimit option only checked limits for indexed notation (a[0]=1&a[1]=2) but did not enforce it for bracket notation (a[]=1&a[]=2). Vulnerable code (lib/parse.js:159-162): if (root === '[]' && options.parseArrays) { obj = utils.combine([], leaf); // No arrayLimit check } Working code (lib/parse.js:175): else if (index <= options.arrayLimit) { // Limit checked here obj = []; obj[index] = leaf; } The bracket notation handler at line 159 uses utils.combine([], leaf) without validating against options.arrayLimit, while indexed notation at line 175 checks index <= options.arrayLimit before creating arrays. PoC const qs = require('qs'); const result = qs.parse('a[]=1&a[]=2&a[]=3&a[]=4&a[]=5&a[]=6', { arrayLimit: 5 }); console.log(result.a.length); // Output: 6 (should be max 5) Note on parameterLimit interaction: The original advisory's "DoS demonstration" claimed a length of 10,000, but parameterLimit (default: 1000) caps parsing to 1,000 parameters. With default options, the actual output is 1,000, not 10,000. Impact Consistency bug in arrayLimit enforcement. With default parameterLimit, the practical DoS risk is negligible since parameterLimit already caps the total number of parsed parameters (and thus array elements from bracket notation). The risk increases only when parameterLimit is explicitly set to a very high value.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannode-qssid6.16.0+ds+~6.15.1-1fixed
Debiannode-qsforky6.16.0+ds+~6.15.1-1fixed
Debiannode-qstrixie6.13.0+ds+~6.9.16-1vulnerable
Debiannode-qsbookworm6.11.0+ds+~6.9.7-3vulnerable
NpmqsNot reported6.14.1fixed
CpeqsNot reported6.14.1fixed
Ubuntunode-qspro6.5.2-1vulnerable
Ubuntunode-qspro6.9.0+ds-1vulnerable
Ubuntunode-qspro6.9.1+ds-1vulnerable
Ubuntunode-qspro6.9.1+ds-1ubuntu0.1~esm1vulnerable
Ubuntunode-qs16.042.2.4-1vulnerable
Ubuntunode-qs18.042.2.4-1vulnerable
Ubuntunode-qs18.042.2.4-1ubuntu1vulnerable
Ubuntunode-qs22.046.9.4+ds-1vulnerable
Ubuntunode-qs22.046.10.1+ds-1vulnerable
Ubuntunode-qs22.046.10.2+ds+~6.9.7-1vulnerable
Ubuntunode-qs22.046.10.3+ds+~6.9.7-1vulnerable
Ubuntunode-qs24.046.11.0+ds+~6.9.7-3vulnerable
Ubuntunode-qs24.046.11.0+ds+~6.9.7-4vulnerable
Ubuntunode-qs25.106.13.0+ds+~6.9.16-1vulnerable
Ubuntunode-qs26.046.13.0+ds+~6.9.16-1vulnerable
Ubuntunode-qs26.046.14.1+ds+~6.14.0-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-qssourcesid6.14.1+ds+~6.14.0-1not yet assignedNot reported[1124315]
Debiannode-qssourceforky6.14.1+ds+~6.14.0-1not yet assignedNot reported[1124315]
Debiannode-qssourcetrixie(unfixed)not yet assignedNot reported[1124315]
Debiannode-qssourcebookworm(unfixed)not yet assignedNot reported[1124315]
NpmqsnpmNot reported6.14.1Not reportedGHSA-6RW7-VPXM-498PNot reported
CpeqscpeNot reported6.14.1Not reportedNVD-CVE-2025-15284Not reported

[Debian bug #1124315]

Notes

[trixie] node-qs: Minor issue [bookworm] node-qs: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [node-qs]Affected
    Details (2)
    • 6.11.0+ds+~6.9.7-3 · all · bookworm

      Affected

      dsa · node-qs · debian · bookworm

    • 6.11.0+ds+~6.9.7-3 · all · bookworm

      Affected

      dsa · node-qs · debian · bookworm

Observed:

References