Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with low privileges
-
DeliverySubmit crafted JSON Schema with __proto__ $ref path
-
ExploitTrigger Pointer.set to pollute Object prototype
-
ExecutionPropagate polluted property to downstream code sink
-
ImpactAchieve code injection or data manipulation
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
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 | The application must pass attacker-influenced or externally-sourced JSON Schema or OpenAPI documents to json-schema-ref-parser for $ref resolution - this is the specific triggering condition. The CVSS 4.0 PR:L metric confirms low-privilege access to the application is required; unauthenticated exploitation is not indicated by the vector. No user interaction is needed (UI:N) once the crafted schema is submitted. Applications that only process internally-authored, static schema files are not exploitable. Escalation from prototype pollution to RCE (as suggested by the tags) additionally requires the host application to use a prototype-injectable property in an unsafe code execution sink, which is a non-default condition dependent on the surrounding application stack. |
| Impact | The CVSS 4.0 base score of 2.1 (AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L) reflects constrained direct impact: exploitation requires low privileges, and the vulnerable system's confidentiality, integrity, and availability impacts are all rated Low with no subsequent-system impact. However, the E:P supplemental metric confirms a proof-of-concept exists, elevating practical concern above theoretical-only flaws. The RCE and Code Injection tags signal that downstream prototype pollution chains to code execution are theoretically possible depending on how the host application uses polluted properties - a pattern well-documented in the JavaScript ecosystem (e.g., lodash, merge library chain attacks). No CISA KEV listing means no confirmed mass exploitation. The realistic risk is medium for applications that pass attacker-controlled JSON Schema documents through this library and then use property values in unsafe sinks; it is low for applications treating schema documents as trusted internal artifacts. The CVSS 4.0 score of 2.1 is consistent with limited direct impact, but the prototype pollution class warrants attention given the POC and RCE tag - these signals are not fully reconciled in the score alone. |
| Exploit ScenarioDerived | An attacker with low-level access to an application (e.g., a registered API user) submits a crafted JSON Schema document containing a $ref pointer path targeting __proto__ or constructor.prototype. When the application passes this schema to json-schema-ref-parser for dereferencing, the Pointer.set function writes the attacker-controlled value onto the global Object prototype. If the host application subsequently uses a prototype property in a dangerous sink - such as a template engine or child_process.exec call - the attacker may escalate to remote code execution. A proof-of-concept demonstrating the prototype pollution step is publicly available. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 09, 2026
Prototype pollution in apidevtools json-schema-ref-parser up to v15.3.5 allows low-privileged remote attackers to modify Object prototype attributes via crafted input to the Refs.set/Pointer.set functions in lib/pointer.ts. The vulnerability is tagged RCE and Code Injection, reflecting the theoretical worst-case of prototype pollution in Node.js environments where polluted properties propagate to dangerous sinks; however, the CVSS 4.0 score of 2.1 with limited (L/L/L) impact ratings suggests the direct, exploitable impact is constrained. A proof-of-concept exists (CVSS 4.0 E:P) but no confirmed active exploitation has been recorded in CISA KEV.
RemediationAI
Upgrade json-schema-ref-parser to version 15.3.6 or later, which incorporates the fix at commit a786bc6afc3674f650496472ee93d5cf74c4bd84. The patched release is available at https://github.com/APIDevTools/json-schema-ref-parser/releases/tag/v15.3.6. Run 'npm install @apidevtools/json-schema-ref-parser@15.3.6' or update the relevant lockfile entry. If immediate upgrade is not possible, restrict the library to processing only trusted, internally-authored schema documents - do not pass user-supplied or third-party-fetched JSON Schema content through the parser without sanitizing $ref pointer paths for prototype-reserved keys (__proto__, constructor, prototype) before resolution. This input sanitization approach has the trade-off of requiring maintenance as new prototype-targeting gadgets are discovered.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
json-schema-ref-parser is a Node.js/JavaScript library by APIDevTools that resolves JSON $ref pointers within JSON Schema and OpenAPI documents, dereferencing nested or remote references into a single schema object. The vulnerability resides in lib/pointer.ts, specifically the Refs.set and Pointer.set methods responsible for writing resolved reference values back into the schema object graph. CWE-94 (Improper Control of Generation of Code) encompasses prototype pollution in JavaScript: by crafting a $ref pointer path that targets reserved prototype keys such as __proto__, constructor, or prototype, an attacker can inject arbitrary properties onto the global Object prototype. In Node.js, polluted prototype properties can propagate silently to all objects in the process, potentially reaching dangerous sinks in template engines, child_process calls, or property-access patterns - explaining the RCE tag despite the low direct CVSS impact. The affected version range is <=15.3.5; the fix is in commit a786bc6afc3674f650496472ee93d5cf74c4bd84, released as v15.3.6.
Know when the next one hits your stack
- 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Network-reachable prototype pollution requiring low privileges; scope unchanged as direct impact is limited to vulnerable system with L/L/L impact.
Primary rating from Vendor (vuldb).
CVSS VectorVendor: vuldb
DescriptionCVE.org
A weakness has been identified in apidevtools json-schema-ref-parser up to 15.3.5. This impacts the function Refs.set/Pointer.set in the library lib/pointer.ts. Executing a manipulation can lead to improperly controlled modification of object prototype attributes. The attack can be launched remotely. Upgrading to version 15.3.6 will fix this issue. This patch is called a786bc6afc3674f650496472ee93d5cf74c4bd84. It is suggested to upgrade the affected component.
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
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
EUVD-2026-42651
GHSA-hghm-9vcp-cxvv
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB