Home / Qs Project / Qs / CVE-2025-15284
CVE-2025-15284: is it exploited, and which versions of Qs Project Qs are affected and fixed?
CVE-2025-15284 is an improper input validation vulnerability in Qs Project Qs. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: qs before 6.14.1 (GitHub advisory GHSA-6rw7-vpxm-498p). Fixed in 6.14.1 (GitHub advisory GHSA-6rw7-vpxm-498p). Severity: Medium (6.3, CVSS 4.0, from harborist).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 22, 2026, 21:31 UTC and NVD November 22, 2026, 23:08 UTC.
What is CVE-2025-15284?
arrayLimit bypass in bracket notation allows DoS via memory exhaustion
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.
From the CVE record by harborist, last updated November 22, 2026, 21:24 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| qs | before 6.14.1 | 6.14.1 |
As the CVE record by harborist states it, last updated November 22, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | qs | < 6.14.1 | 6.14.1 | GHSA-6rw7-vpxm-498p |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated March 2, 2026. Summary: qs's arrayLimit bypass in its bracket notation allows DoS via memory exhaustion.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| qs project | qs | before 6.14.1 | application |
NVD analysis (status Modified), last modified November 22, 2026, 22:17 UTC.
How severe is CVE-2025-15284?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.3 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L | harborist |
| Low 3.7 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L | harborist |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-15284 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, December 30, 2025)
- EPSS
- 0.47% probability of exploitation activity in the next 30 days, percentile 42.1 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-20 Improper Input Validation
Where are the vendor advisories and references?
- https://github.com/ljharb/qs/security/advisories/GHSA-6rw7-vpxm-498p vendor-advisory
- https://github.com/ljharb/qs/commit/3086902ecf7f088d0d1803887643ac6c03d415b9 patch
When was it published, and where is the official record?
- Reserved
- December 29, 2025
- Published
- December 29, 2025, 22:56 UTC
- CVE record updated
- November 22, 2026, 21:24 UTC by harborist
- NVD
- Modified, last modified November 22, 2026, 22:17 UTC
- Last checked
- CVE list November 22, 2026, 21:31 UTC; NVD November 22, 2026, 23:08 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Qs?
- Feb 12, 2026CVE-2026-2391 Qs Project Qs: improper input validation
- Nov 26, 2022CVE-2022-24999 Qs Project Qs: prototype pollution
- Jul 13, 2017CVE-2017-1000048 Qs Project Qs: improper input validation
Questions about CVE-2025-15284
Is CVE-2025-15284 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 0.47% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Qs Project Qs are affected by CVE-2025-15284?
qs before 6.14.1, per the GitHub advisory GHSA-6rw7-vpxm-498p. The tables above give every range the sources list.
Which version fixes CVE-2025-15284?
6.14.1, per the GitHub advisory GHSA-6rw7-vpxm-498p. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-15284?
Medium (6.3, CVSS 4.0, from harborist). The severity table above shows each score with its source.
Where is the official record of CVE-2025-15284?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.