qs

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

6.17.1Latest, 28 Oct 2026
1.2BDownloads, last month
0Advisories on the latest
10Advisories, all versions
BSD-3-ClauseLicence
9KStars
5.4/10OpenSSF Scorecard

Known advisories

Severity Advisory Fix Published
Moderate qs : qs.stringify with arrayFormat 'comma' throws an uncaught TypeError on array elements carrying a non-callable own toString (DoS) CVE-2026-110816 Fixed in 6.16.1 27 Oct 2026
Moderate qs: Denial of Service via Attacker Controlled isBuffer CVE-2026-82417 Fixed in 6.16.0 2 Sep 2026
Moderate qs array-limit bypass via bracket-key comma parsing CVE-2026-82562 Fixed in 6.16.0 2 Sep 2026
Moderate qs has a remotely triggerable DoS: qs.stringify crashes with TypeError on null/undefined entries in comma-format arrays when encodeValuesOnly is set CVE-2026-8723 Fixed in 6.15.2 22 May 2026
Low qs's arrayLimit bypass in comma parsing allows denial of service CVE-2026-2391 Fixed in 6.14.2 12 Feb 2026
Moderate qs's arrayLimit bypass in its bracket notation allows DoS via memory exhaustion CVE-2025-15284 Fixed in 6.14.1 30 Dec 2025
High qs vulnerable to Prototype Pollution CVE-2022-24999 Fixed in 6.4.1, 6.3.3, 6.2.4 27 Nov 2022
High Prototype Pollution Protection Bypass in qs CVE-2017-1000048 Fixed in 6.1.2, 6.2.3, 6.3.2 30 Apr 2020
High Denial-of-Service Extended Event Loop Blocking in qs CVE-2014-10064 Fixed in 1.0.0 9 Oct 2018
High Denial-of-Service Memory Exhaustion in qs CVE-2014-7191 Fixed in 1.0.0 24 Oct 2017

In the news

On Hacker News

Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.