npm package

qs 6.0.2 vulnerabilities, and the version that fixes all of them

qs 6.0.2 has 4 known vulnerabilities (2 rated high or critical); 6.16.0 fixes all of them.

npm (opens in a new tab) describes it as “A querystring parser that supports nesting and arrays, with a depth limit”

Known vulnerabilities
4
2 rated high or critical
Released
Jan 17, 2016
Latest is 6.16.1
Downloads last week
1.8K
Under 1% of qs downloads
Licence
BSD-3-Clause
OpenSSF Scorecard
5.4/10
ljharb/qs (opens in a new tab)
Dependencies
None
Resolved by deps.dev

What to upgrade to

6.16.0 is the closest release with no known vulnerabilities.

  • 6.16.0Upgrade to this

    Fixes all 4 known vulnerabilities. Released Aug 29, 2026.

    No known vulnerabilities
  • 6.16.1

    Newest 6.x release and the latest release. Released Oct 14, 2026.

    No known vulnerabilities

6.16.0 came out on Aug 29, 2026. A coding agent trained before then doesn’t know it exists, so it may suggest an older release. AI knowledge cutoff dates

Hand the fix to your coding agent

One task with the upgrade, the file to change and why. Paste it into Claude Code, Cursor or Codex.

Findings

Every advisory for qs 6.0.2

Known exploited first (CISA KEV), then by how likely they are to be exploited (FIRST EPSS), then by severity. Each id links to its OSV.dev record.

  1. CriticalCVE-2022-24999 on OSV.dev (opens in a new tab)GHSA-hrpp-h998-j3ppEPSS: top 4%

    qs vulnerable to Prototype Pollution

    Fixed in 6.2.4. Published Nov 27, 2022.

  2. CriticalCVE-2017-1000048 on OSV.dev (opens in a new tab)GHSA-gqgv-6jq5-jjj9EPSS: top 17%

    Prototype Pollution Protection Bypass in qs

    Fixed in 6.0.4. Published Apr 30, 2020.

  3. WarningCVE-2025-15284 on OSV.dev (opens in a new tab)GHSA-6rw7-vpxm-498pEPSS: top 63%

    qs's arrayLimit bypass in its bracket notation allows DoS via memory exhaustion

    Fixed in 6.14.1. Published Dec 30, 2025.

  4. WarningCVE-2026-82417 on OSV.dev (opens in a new tab)GHSA-4mjr-xmp4-gh2gEPSS: top 66%

    qs: Denial of Service via Attacker Controlled isBuffer

    Fixed in 6.16.0. Published Sep 2, 2026.

Who is still on a vulnerable qs

64% of last week’s 189.4M qs downloads went to versions with known vulnerabilities.

From npm’s per-version download counts for the last 7 days, each version checked against OSV.dev. The versions checked cover over 99% of downloads.

Is qs the only one?

Paste a public GitHub repo or drop your package.json and see every vulnerable, end-of-life or deprecated dependency, with one fix task. Free, no sign-up.

Check your whole repo

How this page is checked

StackPrism asks OSV.dev which advisories affect exactly qs 6.0.2, merges duplicates filed under several ids, and ranks them with CISA’s Known Exploited Vulnerabilities list and FIRST EPSS. Release dates and deprecation come from deps.dev and npm. No AI writes this page: every sentence comes from that data, refreshed every few hours.

Last checked against npm, OSV.dev, deps.dev, CISA KEV and FIRST EPSS.