qs vulnerabilities

A querystring parser that supports nesting and arrays, with a depth limit

Registry
npm
Latest
6.16.1
License
BSD-3-Clause

9 known advisories

The latest version, 6.16.1, is not affected by any of them. Projects on older versions may be.

Update to the latest version:npm install qs@6.16.1

Security advisories for qs

  • MediumGHSA-x5fp-wj9c-mxmx2 Sept 2026

    qs array-limit bypass via bracket-key comma parsing

    Affected
    >=6.14.2 <6.16.0
    Fixed in
    6.16.0
  • MediumGHSA-4mjr-xmp4-gh2g2 Sept 2026

    qs: Denial of Service via Attacker Controlled isBuffer

    Affected
    >=2.2.5 <6.16.0
    Fixed in
    6.16.0
  • MediumGHSA-q8mj-m7cp-5q2622 May 2026

    qs has a remotely triggerable DoS: qs.stringify crashes with TypeError on null/undefined entries in comma-format arrays when encodeValuesOnly is set

    Affected
    >=6.11.1 <6.15.2
    Fixed in
    6.15.2
  • LowGHSA-w7fw-mjwx-w88312 Feb 2026

    qs's arrayLimit bypass in comma parsing allows denial of service

    Affected
    >=6.7.0 <6.14.2
    Fixed in
    6.14.2
  • MediumGHSA-6rw7-vpxm-498p30 Dec 2025

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

    Affected
    <6.14.1
    Fixed in
    6.14.1
  • HighGHSA-hrpp-h998-j3pp27 Nov 2022

    qs vulnerable to Prototype Pollution

    Affected
    >=6.10.0 <6.10.3 · >=6.9.0 <6.9.7 · >=6.8.0 <6.8.3 · >=6.7.0 <6.7.3 · >=6.6.0 <6.6.1 · >=6.5.0 <6.5.3 · >=6.4.0 <6.4.1 · >=6.3.0 <6.3.3 · <6.2.4
    Fixed in
    6.2.4, 6.3.3, 6.4.1, 6.5.3, 6.6.1, 6.7.3, 6.8.3, 6.9.7, 6.10.3
  • HighGHSA-gqgv-6jq5-jjj930 Apr 2020

    Prototype Pollution Protection Bypass in qs

    Affected
    <6.0.4 · >=6.1.0 <6.1.2 · >=6.2.0 <6.2.3 · >=6.3.0 <6.3.2
    Fixed in
    6.0.4, 6.1.2, 6.2.3, 6.3.2
  • HighGHSA-f9cm-p3w6-xvr39 Oct 2018

    Denial-of-Service Extended Event Loop Blocking in qs

    Affected
    <1.0.0
    Fixed in
    1.0.0
  • HighGHSA-jjv7-qpx3-h62q24 Oct 2017

    Denial-of-Service Memory Exhaustion in qs

    Affected
    <1.0.0
    Fixed in
    1.0.0

Which of your client projects still run an old qs?

NPMscan reads the package-lock.json, yarn.lock and pnpm-lock.yaml in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other npm packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the npm registry.