Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted HTTP request with prototype pollution payload
-
Deliveryquery-string-parser merges __proto__ to Object.prototype
-
ExploitPolluted properties propagate to all application objects
-
ExecutionApplication logic consumes polluted property in security check
-
PersistBypass authentication/authorization controls
-
ImpactExecute privileged operations or arbitrary code
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V3 - Web Frontend Security Prototype pollution prevention
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires target application specifically using the query-string-parser NPM package version 1.0.0 (not commonly deployed - package has limited adoption per npm download metrics). No special server configuration or features required beyond standard HTTP query parameter processing. Application must invoke query-string-parser to parse user-controlled query strings and subsequently use the parsed object properties in security-sensitive operations or code execution contexts for meaningful impact. Prototype pollution itself succeeds against default Node.js configurations but exploitable impact depends on downstream code paths: applications only reading polluted values may experience logic bypasses, while those passing polluted objects to template engines, eval(), or child process spawning enable remote code execution. Does NOT limit exploitation: no authentication required (PR:N), no user interaction needed (UI:N), remotely accessible via any network-exposed HTTP endpoint (AV:N). Defensive mitigations like frozen prototypes or --disable-proto Node.js flag prevent exploitation even when vulnerable package version is present. |
| Impact | CVSS 9.8 critical rating driven by network attack vector (AV:N), low complexity (AC:L), no privileges required (PR:N), and high impact across confidentiality, integrity, and availability creates initial appearance of severe risk. However, multiple signals indicate substantially lower real-world priority. EPSS 0.02% exploitation probability places this in the 4th percentile, suggesting security researchers and attackers have not prioritized exploitation despite public POC availability since January 2025. CISA SSVC confirms 'exploitation: none' with 'automatable: yes' - theoretically easy to exploit but not observed in practice. No CISA KEV listing despite being public for months. Critical limiting factors: exploitation requires the vulnerable application to actually use query-string-parser 1.0.0 (low download popularity per npm registry), successful exploitation depends on how parsed objects are subsequently used (many prototype pollution instances have no exploitable impact), and Node.js applications increasingly deploy prototype pollution mitigations like --disable-proto or Object.freeze(Object.prototype). Real risk is concentrated in legacy Node.js applications using this specific low-adoption parser without prototype hardening. The stark contrast between CVSS 9.8 and EPSS 4th percentile exemplifies why contextual signals matter more than base scores for prioritization. |
| Exploit ScenarioDerived | Attacker crafts malicious URL query string containing prototype pollution payloads such as '?__proto__[isAdmin]=true&__proto__[role]=administrator' and sends it to the vulnerable Node.js application via HTTP GET request. The query-string-parser 1.0.0 package parses this input and merges the __proto__ properties directly into Object.prototype without sanitization. Subsequent application code checking user privileges via constructs like if (user.isAdmin) now evaluates to true for all user objects due to the polluted prototype chain. Attacker achieves privilege escalation to administrative access, enabling unauthorized data access, configuration changes, or remote code execution if polluted properties are later consumed by eval(), child_process.exec(), or other dangerous sinks. Publicly available proof-of-concept on GitHub demonstrates the attack vector. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 09, 2026
Prototype pollution in query-string-parser 1.0.0 enables remote unauthenticated attackers to inject malicious properties into JavaScript object prototypes via crafted query parameters, achieving arbitrary code execution, privilege escalation, or denial of service in Node.js applications. CVSS 9.8 critical severity with network attack vector and no authentication required. EPSS score of 0.02% (4th percentile) indicates low observed exploitation probability despite critical rating. Publicly available proof-of-concept exists (GitHub Gist), but no CISA KEV listing confirms active exploitation. SSVC framework rates this as automatable with total technical impact but currently unexploited, suggesting opportunistic future risk rather than immediate widespread targeting.
RemediationAI
No vendor-released patch identified at time of analysis - the query-string-parser package appears unmaintained with last release at version 1.0.0 and no activity on the GitHub repository issue tracker beyond the vulnerability report filed in January 2025. Immediate remediation requires replacing query-string-parser with maintained alternatives such as qs (npm package with 200M+ weekly downloads, actively maintained, includes prototype pollution protections) or the built-in URLSearchParams API available in Node.js 10+. Migration example: replace require('query-string-parser') with const qs = require('qs'); qs.parse(queryString, {allowPrototypes: false}). For applications unable to immediately migrate, implement compensating controls: (1) freeze Object.prototype at application startup using Object.freeze(Object.prototype) to prevent pollution (breaks some libraries expecting mutable prototypes), (2) launch Node.js with --disable-proto=delete flag to remove __proto__ accessor (requires Node.js 12.17+), or (3) add input validation to reject query parameters containing '__proto__', 'constructor', or 'prototype' keys before parsing (bypassable via advanced encoding techniques). All compensating controls have compatibility trade-offs; regression testing is mandatory. Dependency scanning tools should flag this package for removal.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability affects query-string-parser (note: package name differs from CVE description which states 'query-parser-string'), an NPM package for parsing URL query strings into JavaScript objects. Classified as CWE-1321 (Improperly Controlled Modification of Object Prototype Attributes, commonly known as Prototype Pollution), this flaw arises when user-controlled query parameters containing properties like '__proto__', 'constructor', or 'prototype' are merged directly into newly created objects without sanitization. In JavaScript's prototype-based inheritance model, polluting Object.prototype affects all objects in the application, enabling attackers to override methods, inject properties into downstream objects, bypass security checks, or trigger code paths leading to remote code execution when polluted properties are later used in eval(), require(), or other dangerous operations. The Node.js ecosystem is particularly vulnerable to this class of attack due to widespread use of object merging in middleware and parsers.
Know when Prototype Pollution gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from Vendor (mitre) · only source for this CVE.
CVSS VectorVendor: mitre
Lifecycle Timeline
3DescriptionCVE.org
NPM package query-parser-string 1.0.0 is vulnerable to Prototype Pollution. The package does not properly sanitize user supplied query parameters and merges them to the newly created object.
Executive ViewAI
CVE-2025-63704 is a critical prototype pollution vulnerability in query-string-parser 1.0.0 that allows unauthenticated remote attackers to execute arbitrary code in Node.js applications through malicious query parameters. Any organization using this parser in production faces immediate risk of data breach, service disruption, or system compromise, with no vendor patch currently available to remediate the threat.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable or restrict external query parameter processing where functionally possible; (2) Implement strict input validation and sanitization on all query parameters before parsing; (3) Deploy Web Application Firewall rules to detect and block prototype pollution payloads (e.g., __proto__, constructor, prototype patterns); (4) Run applications with reduced privilege and in isolated containers to limit code execution impact; (5) Immediate dependency replacement with patched alternative library is strongly preferred over runtime controls.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Prototype Pollution
View allPrototype pollution in Adobe Acrobat Reader versions 24.001.30356, 26.001.21367 and earlier enables arbitrary code execu
All versions of package dojo are vulnerable to Prototype Pollution via the setObject function. Rated critical severity (
Prototype pollution in the farinspace Partners WordPress plugin (versions up to and including 0.2.0) enables remote unau
The package handlebars before 4.7.7 are vulnerable to Prototype Pollution when selecting certain compiling options to co
This affects the package ini before 1.3.6. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl
Prototype pollution vulnerability in 'deephas' versions 1.0.0 through 1.0.5 allows attacker to cause a denial of service
A Prototype Pollution issue in Cronvel Tree-kit v.0.7.4 and before allows a remote attacker to execute arbitrary code vi
A Prototype Pollution issue in Aliconnect /sdk v.0.0.6 allows an attacker to execute arbitrary code via the aim function
All versions of the package safe-eval are vulnerable to Prototype Pollution via the safeEval function, due to improper s
This affects the package vm2 before 3.9.4 via a Prototype Pollution attack vector, which can lead to execution of arbitr
Prototype Pollution in chargeover redoc v2.0.9-rc.69 allows attackers to execute arbitrary code or cause a Denial of Ser
alizeait unflatto <= 1.0.2 was discovered to contain a prototype pollution via the method exports.unflatto at /dist/inde
EUVD-2025-209730
GHSA-587p-w43q-4hjx
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB