PatchSiren

ljharb CVE debriefs

These pages are published after PatchSiren validates generated defensive summaries against stored public CVE and source evidence.

MEDIUM ljharb CVE published 2026-10-27

CVE-2026-110816

A vulnerability in the qs library's `qs.stringify` function with `arrayFormat: 'comma'` can throw a TypeError when an array element cannot be coerced to a string, such as an object with a non-callable `toString` property or a null-prototype object. This issue arises because the comma format joins array elements with `Array.prototype.join` and, under `encodeValuesOnly`, first passes each element through `String()` in `utils.encode`; neither guards against an element whose string coercion fails. The vulnerability can cause errors in applications handling untrusted input and requires verification and updates of qs library versions.

MEDIUM ljharb CVE published 2026-10-07

CVE-2026-107353

CVE-2026-107353 is a vulnerability in the traverse npm package that allows prototype pollution through the set() function. An attacker can add or overwrite properties of built-in prototypes like String.prototype, Number.prototype, or Boolean.prototype using plain JSON data. This issue affects versions 0.3.6 through 0.3.9, 0.4.0 through 0.4.6, 0.5.0 through 0.5.2, and 0.6.0 through 0.6.11 of the traverse package. The vulnerability is fixed in versions 0.3.10, 0.4.7, 0.5.3, and 0.6.12.

MEDIUM ljharb CVE published 2026-08-30

CVE-2026-82562

AI-assisted PatchSiren debrief based on the supplied source corpus. The CVE record was published on 2026-08-30T01:20:32.820Z and has not been modified since then. CVE-2026-82562 is a vulnerability in the qs library where a specially crafted query string can bypass the array limit when parsed with certain options (comma: true and throwOnLimitExceeded: true), potentially leading to a DOS attack. The vulnerability arises from the library's handling of comma-separated values under a bracket-push key (a[]=1,2,3,4), which allows for an inner array of arbitrary length. This occurs because the arrayLimit check runs after wrapping the comma-separated value as a single nested element. The fix for this vulnerability is included in qs version 6.16.0 or later. An unauthenticated attacker who can reach an application that parses untrusted query strings or urlencoded bodies with both `comma: true` and `throwOnLimitExceeded: true` (both non-default) can bypass the configured limit with a single `a[]=` parameter and force the parser to allocate an array proportional to the request size. The cost is strictly linear in the attacker-supplied bytes (about 0.1 microseconds and 6 to 7 retained bytes per input byte; the same out-of-memory threshold as the documented default `throwOnLimitExceeded: false` path), so a transport-layer request or body size limit bounds it completely (and node's default maximum HTTP header size of 16 KB already bounds the request line, so multi-megabyte payloads need a body parser). The impact is that an opt-in hard limit fails open on one key spelling, not unbounded allocation from a small input. Evidence is based on official CVE and NVD records, alongside limited source references from GitHub. Further verification is recommended through direct code review and testing.

CRITICAL ljharb CVE published 2026-05-22

CVE-2026-9277

CVE-2026-9277 is a critical vulnerability in the shell-quote package, which did not properly validate object-token inputs against the operator model used by `parse()`. This could allow an attacker to inject malicious commands by including a line terminator in the `.op` field. The vulnerability has a CVSS score of 9.2 and is considered critical. Defenders who use the shell-quote package in their applications, especially in environments where user input is used to construct commands, should be aware of this vulnerability and take steps to mitigate it. The vulnerable code path is reachable in two ways: direct construction of `{ op: '...<newline>...' }` from external input, and via `pa

MEDIUM ljharb CVE published 2026-05-17

CVE-2026-8723

CVE-2026-8723 describes a denial-of-service style reliability bug in qs: when qs.stringify is called with arrayFormat:"comma" and encodeValuesOnly:true, a null or undefined element inside an array can trigger a synchronous TypeError instead of producing a query string. The issue is fixed in v6.15.2.