Intel

AIKIDO-2026-35535

qs is vulnerable to Denial of Service (DoS)

Denial of Service (DoS)CVE-2026-82562 Published 2 days ago

37

Low Risk

This Affects:

JSqs
6.14.2 - 6.15.3
Fixed in 6.16.0
Are you affected? Scan for Free

TL;DR

The parseArrayValue helper in the parse path splits a comma-separated value into an array before comparing it against arrayLimit. When a comma group is supplied under a bracket-push key such as a[]=1,2,3, the code treats it as exempt and skips the limit check even when throwOnLimitExceeded is enabled, while the equivalent flat key correctly throws. Untrusted input can therefore expand a single parameter into an arbitrarily large array, consuming excessive memory. The fix applies the arrayLimit check to every comma group and throws a RangeError before splitting when the limit is exceeded.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you parse untrusted input with the comma option enabled.

Background info

qs is vulnerable to Denial of Service (DoS) in versions 6.14.2 - 6.15.3.

How to fix this

Upgrade the qs library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform