qs — CVE history (npm)

qs

10 CVEs affect the qs npm package (highest CVSS 7.5). Latest disclosed: 2026-10-27. Full CVE history sourced from NVD.

Summary

Package
qs (npm)
Total CVEs
10
Actively exploited (CISA KEV)
0
Highest CVSS
7.5
Latest disclosed
2026-10-27

Recent CVEs (top 10)

CVESeverityCVSSKEVPublishedSummary
CVE-2026-110910Low3.7—2026-10-27### Summary `qs.stringify` with `allowEmptyArrays: true` writes the key of an empty array without encoding it, even though keys are encoded by default.
CVE-2026-110816Medium5.3—2026-10-14### Summary `qs.stringify` with `arrayFormat: 'comma'` throws `TypeError: Cannot convert object to primitive value` when an array element cannot be coerced to a string, such as an object with an own non-callable `toString` (`{ "toString…
CVE-2026-82562Low3.7—2026-08-30### Summary When `qs.parse` is called with `comma: true` and `throwOnLimitExceeded: true`, a comma-separated value under a bracket-push key (`a[]=1,2,3,4`) is split into an array without being compared against `arrayLimit`, while the sa…
CVE-2026-82417Medium5.3—2026-08-30### Summary `qs.stringify` throws a `TypeError` when it serializes an object whose own `constructor` property has a truthy, non-callable `isBuffer` member.
CVE-2026-8723Medium5.3—2026-05-17### Summary `qs.stringify` throws `TypeError` when called with `arrayFormat: 'comma'` and `encodeValuesOnly: true` on an array containing `null` or `undefined`.
CVE-2026-2391Low3.7—2026-02-12### Summary The `arrayLimit` option in qs does not enforce limits for comma-separated values when `comma: true` is enabled, allowing attackers to cause denial-of-service via memory exhaustion.
CVE-2025-15284Low3.7—2025-12-29Improper Input Validation vulnerability in qs (parse modules) allows HTTP DoS.This issue affects qs: < 6.14.1.
CVE-2022-24999High7.5—2022-11-26qs before 6.10.3, as used in Express before 4.17.3 and other products, allows attackers to cause a Node process hang for an Express application because an __ proto__ key can be used.
CVE-2014-10064High7.5—2018-05-31The qs module before 1.0.0 does not have an option or default for specifying object depth and when parsing a string representing a deeply nested object will block the event loop for long periods of time.
CVE-2017-1000048High7.5—2017-07-17the web framework using ljharb's qs module older than v6.3.2, v6.2.3, v6.1.2, and v6.0.4 is vulnerable to a DoS.

All-time worst (top 10 by CVSS)

CVESeverityCVSSKEVPublishedSummary
CVE-2022-24999High7.5—2022-11-26qs before 6.10.3, as used in Express before 4.17.3 and other products, allows attackers to cause a Node process hang for an Express application because an __ proto__ key can be used.
CVE-2014-10064High7.5—2018-05-31The qs module before 1.0.0 does not have an option or default for specifying object depth and when parsing a string representing a deeply nested object will block the event loop for long periods of time.
CVE-2017-1000048High7.5—2017-07-17the web framework using ljharb's qs module older than v6.3.2, v6.2.3, v6.1.2, and v6.0.4 is vulnerable to a DoS.
CVE-2026-110816Medium5.3—2026-10-14### Summary `qs.stringify` with `arrayFormat: 'comma'` throws `TypeError: Cannot convert object to primitive value` when an array element cannot be coerced to a string, such as an object with an own non-callable `toString` (`{ "toString…
CVE-2026-82417Medium5.3—2026-08-30### Summary `qs.stringify` throws a `TypeError` when it serializes an object whose own `constructor` property has a truthy, non-callable `isBuffer` member.
CVE-2026-8723Medium5.3—2026-05-17### Summary `qs.stringify` throws `TypeError` when called with `arrayFormat: 'comma'` and `encodeValuesOnly: true` on an array containing `null` or `undefined`.
CVE-2026-110910Low3.7—2026-10-27### Summary `qs.stringify` with `allowEmptyArrays: true` writes the key of an empty array without encoding it, even though keys are encoded by default.
CVE-2026-82562Low3.7—2026-08-30### Summary When `qs.parse` is called with `comma: true` and `throwOnLimitExceeded: true`, a comma-separated value under a bracket-push key (`a[]=1,2,3,4`) is split into an array without being compared against `arrayLimit`, while the sa…
CVE-2026-2391Low3.7—2026-02-12### Summary The `arrayLimit` option in qs does not enforce limits for comma-separated values when `comma: true` is enabled, allowing attackers to cause denial-of-service via memory exhaustion.
CVE-2025-15284Low3.7—2025-12-29Improper Input Validation vulnerability in qs (parse modules) allows HTTP DoS.This issue affects qs: < 6.14.1.