Intel

AIKIDO-2026-81971

qs is vulnerable to Denial of Service (DoS)

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

53

Medium Risk

This Affects:

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

TL;DR

The utils.isBuffer helper duck-types buffers by reading obj.constructor.isBuffer and invoking it after only checking that the property is truthy. Parsing untrusted input with plainObjects or allowPrototypes can produce an object whose constructor.isBuffer is a truthy non-callable value, so a later stringify call invokes a non-function and throws an uncaught TypeError. The exception aborts serialization of externally influenced data and can crash the request handler or worker process when it runs outside an error boundary. The fix verifies that constructor.isBuffer is a function before calling it.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you call stringify on objects parsed from untrusted input with the plainObjects or allowPrototypes option enabled.

Background info

qs is vulnerable to Denial of Service (DoS) in versions 2.2.5 - 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