Skip to content
Heist/ feed
Back to feed
MediumFix available

node-qs — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2025-15284

Improper Input Validation vulnerability in qs (parse modules) allows HTTP DoS.This issue affects qs: < 6.14.1. Summary The arrayLimit option in qs did not enforce limits for bracket notation (a[]=1&a[]=2), only for indexed notation (a[0]=1). This is a consistency bug; arrayLimit should apply uniformly across all array notations. Note: The default parameterLimit of 1000 effectively mitigates the DoS scenario originally described. With default options, bracket notation cannot produce arrays larger than parameterLimit regardless of arrayLimit, because each a[]=valueconsumes one parameter slot. The severity has been reduced accordingly. Details The arrayLimit option only checked limits for indexed notation (a[0]=1&a[1]=2) but did not enforce it for bracket notation (a[]=1&a[]=2). Vulnerable code (lib/parse.js:159-162): if (root === '[]' && options.parseArrays) { obj = utils.combine([], leaf); // No arrayLimit check } Working code (lib/parse.js:175): else if (index <= options.arrayLimit) { // Limit checked here obj = []; obj[index] = leaf; } The bracket notation handler at line 159 uses utils.combine([], leaf) without validating against options.arrayLimit, while indexed notation at line 175 checks index <= options.arrayLimit before creating arrays. PoC const qs = require('qs'); const result = qs.parse('a[]=1&a[]=2&a[]=3&a[]=4&a[]=5&a[]=6', { arrayLimit: 5 }); console.log(result.a.length); // Output: 6 (should be max 5) Note on parameterLimit interaction: The original advisory's "D

Products
node-qs
Affected versions
6.11.0+ds+~6.9.7-3, 6.11.0+ds+~6.9.7-4, 6.13.0+ds+~6.9.16-1, 6.14.1+ds+~6.14.0-1, 6.15.0+ds+~6.15.0-1, 6.15.0+ds+~6.15.0-2, 6.15.0+ds+~6.15.0-3, 6.15.2+ds+~6.15.1-1, 6.16.0+ds+~6.15.1-1
Fixed versions
6.14.1+ds+~6.14.0-1
CVEs
CVE-2025-15284
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 16:55 UTC · Revision 1

Source evidence

DEBIAN-CVE-2025-15284

core-osv · Original source

Published 29 Dec 2025, 23:15 UTC

Improper Input Validation vulnerability in qs (parse modules) allows HTTP DoS.This issue affects qs: < 6.14.1. Summary The arrayLimit option in qs did not enforce limits for bracket notation (a[]=1&a[]=2), only for indexed notation (a[0]=1). This is a consistency bug; arrayLimit should apply uniformly across all array notations. Note: The default parameterLimit of 1000 effectively mitigates the DoS scenario originally described. With default options, bracket notation cannot produce arrays larger than parameterLimit regardless of arrayLimit, because each a[]=valueconsumes one parameter slot. The severity has been reduced accordingly. Details The arrayLimit option only checked limits for indexed notation (a[0]=1&a[1]=2) but did not enforce it for bracket notation (a[]=1&a[]=2). Vulnerable code (lib/parse.js:159-162): if (root === '[]' && options.parseArrays) { obj = utils.combine([], leaf); // No arrayLimit check } Working code (lib/parse.js:175): else if (index <= options.arrayLimit) { // Limit checked here obj = []; obj[index] = leaf; } The bracket notation handler at line 159 uses utils.combine([], leaf) without validating against options.arrayLimit, while indexed notation at line 175 checks index <= options.arrayLimit before creating arrays. PoC const qs = require('qs'); const result = qs.parse('a[]=1&a[]=2&a[]=3&a[]=4&a[]=5&a[]=6', { arrayLimit: 5 }); console.log(result.a.length); // Output: 6 (should be max 5) Note on parameterLimit interaction: The original advisory's "D

osv:DEBIAN-CVE-2025-15284

node-qs

Fixed versions: Not specified

node-qs

Fixed versions: Not specified

node-qs

Fixed versions: 6.14.1+ds+~6.14.0-1

Complete source record
{
  "id": "d5ca2b719d5c02e8aad908fabfd78c8b650faff65c73786aceddd1140bd358cf",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2025-15284",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2025-15284",
    "summary": "Improper Input Validation vulnerability in qs (parse modules) allows HTTP DoS.This issue affects qs: < 6.14.1. Summary The arrayLimit option in qs did not enforce limits for bracket notation (a[]=1&a[]=2), only for indexed notation (a[0]=1). This is a consistency bug; arrayLimit should apply uniformly across all array notations. Note: The default parameterLimit of 1000 effectively mitigates the DoS scenario originally described. With default options, bracket notation cannot produce arrays larger than parameterLimit regardless of arrayLimit, because each a[]=valueconsumes one parameter slot. The severity has been reduced accordingly. Details The arrayLimit option only checked limits for indexed notation (a[0]=1&a[1]=2) but did not enforce it for bracket notation (a[]=1&a[]=2). Vulnerable code (lib/parse.js:159-162): if (root === '[]' && options.parseArrays) { obj = utils.combine([], leaf); // No arrayLimit check } Working code (lib/parse.js:175): else if (index <= options.arrayLimit) { // Limit checked here obj = []; obj[index] = leaf; } The bracket notation handler at line 159 uses utils.combine([], leaf) without validating against options.arrayLimit, while indexed notation at line 175 checks index <= options.arrayLimit before creating arrays. PoC const qs = require('qs'); const result = qs.parse('a[]=1&a[]=2&a[]=3&a[]=4&a[]=5&a[]=6', { arrayLimit: 5 }); console.log(result.a.length); // Output: 6 (should be max 5) Note on parameterLimit interaction: The original advisory's \"D",
    "evidence": "osv:DEBIAN-CVE-2025-15284",
    "products": [
      {
        "name": {
          "value": "node-qs",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "6.11.0+ds+~6.9.7-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.11.0+ds+~6.9.7-4",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.13.0+ds+~6.9.16-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.14.1+ds+~6.14.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.15.0+ds+~6.15.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.15.0+ds+~6.15.0-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.15.0+ds+~6.15.0-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.15.2+ds+~6.15.1-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.16.0+ds+~6.15.1-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-qs",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "6.13.0+ds+~6.9.16-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "6.14.1+ds+~6.14.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "6.15.0+ds+~6.15.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "6.15.0+ds+~6.15.0-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "6.15.0+ds+~6.15.0-3",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "6.15.2+ds+~6.15.1-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "6.16.0+ds+~6.15.1-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-qs",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.14.1+ds+~6.14.0-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "6.13.0+ds+~6.9.16-1",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2025-15284",
      "aliases": [
        "DEBIAN-CVE-2025-15284"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-qs",
            "purl": "pkg:deb/debian/node-qs?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "6.11.0+ds+~6.9.7-3",
            "6.11.0+ds+~6.9.7-4",
            "6.13.0+ds+~6.9.16-1",
            "6.14.1+ds+~6.14.0-1",
            "6.15.0+ds+~6.15.0-1",
            "6.15.0+ds+~6.15.0-2",
            "6.15.0+ds+~6.15.0-3",
            "6.15.2+ds+~6.15.1-1",
            "6.16.0+ds+~6.15.1-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-15284.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-qs",
            "purl": "pkg:deb/debian/node-qs?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "6.13.0+ds+~6.9.16-1",
            "6.14.1+ds+~6.14.0-1",
            "6.15.0+ds+~6.15.0-1",
            "6.15.0+ds+~6.15.0-2",
            "6.15.0+ds+~6.15.0-3",
            "6.15.2+ds+~6.15.1-1",
            "6.16.0+ds+~6.15.1-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-15284.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6.14.1+ds+~6.14.0-1"
                }
              ]
            }
          ],
          "package": {
            "name": "node-qs",
            "purl": "pkg:deb/debian/node-qs?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "6.13.0+ds+~6.9.16-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-15284.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-15T09:47:44.335825014Z",
      "provider": "osv",
      "upstream": [
        "CVE-2025-15284"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2025-15284"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2025-15284",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 328576,
  "published_at": "2025-12-29T23:15:42.703+00:00"
}