Vulnerabilities/

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

Severity:
Medium

Description

qs.stringify throws TypeError when called with arrayFormat: 'comma' and encodeValuesOnly: true on an array containing null or undefined. The throw is synchronous and not handled by any of qs’s null-related options (skipNulls, strictNullHandling).

Recommendation

Update the qs package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
qs
Anything's wrong? Let us know Last updated on May 22, 2026