Skip to main content

json-schema-ref-parser EUVDEUVD-2026-42651

| CVE-2026-15195 LOW
Code Injection (CWE-94)
2026-07-09 cna@vuldb.com GHSA-hghm-9vcp-cxvv
2.1
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with low privileges
  2. Delivery
    Submit crafted JSON Schema with __proto__ $ref path
  3. Exploit
    Trigger Pointer.set to pollute Object prototype
  4. Execution
    Propagate polluted property to downstream code sink
  5. Impact
    Achieve 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

json-schema-ref-parser 15.3.3
json-schema-ref-parser 15.3.2
json-schema-ref-parser 15.3.1
json-schema-ref-parser 15.3.0
json-schema-ref-parser 15.3.5
json-schema-ref-parser 15.3.4

Affected Packages

euvd json_schema_ref_parser no fix

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

Vendor (vuldb) PRIMARY 2.1 LOW
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
vuln.today AI 6.3 MEDIUM

Network-reachable prototype pollution requiring low privileges; scope unchanged as direct impact is limited to vulnerable system with L/L/L impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (vuldb).

CVSS VectorVendor: vuldb

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Medium
popular npm library in OpenAPI/JSON Schema tooling ecosystems
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

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.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy