Description
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.
Published: 2026-07-09
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A weakness has been identified in apidevtools json-schema-ref-parser that affects the Refs.set and Pointer.set functions in lib/pointer.ts; supply of a malicious schema can cause the library to write to Object.prototype unconditionally. This prototype pollution is a CWE-1321 vulnerability that may persist after the initial exploit and alter the behavior of any JavaScript code that runs in the same runtime. The defect does not require code execution or elevated privileges to be triggered, but it enables an attacker to influence global object behavior, potentially leading to subsequent denial‑of‑service or arbitrary code execution scenarios.

Affected Systems

All deployments that use apidevtools json-schema-ref-parser up to and including version 15.3.5 are impacted. The failure is triggered when a parsed schema contains a $ref or other reference that the library resolves via the Pointer.set routine; any environment that processes externally supplied JSON Schema documents with the vulnerable library is exposed.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity. The EPSS score of < 1% suggests the likelihood of exploitation is low but not impossible. The vulnerability is not currently listed in the CISA KEV catalog. An attacker can launch the attack remotely by supplying a crafted schema to the library without authentication. Because prototype pollution can change global behavior, an affected server or application may become a vector for additional attacks once the prototype is altered.

Generated by OpenCVE AI on July 29, 2026 at 12:09 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade apidevtools json-schema-ref-parser to version 15.3.6 or later.
  • If an immediate version update is not possible, replace or comment out the prototype assignment in lib/pointer.ts so that the vulnerable Pointer.set functionality is disabled.
  • Validate or sanitize all JSON Schema inputs before passing them to the parser to ensure no malicious $ref entries can trigger prototype changes.

Generated by OpenCVE AI on July 29, 2026 at 12:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 09 Jul 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 09 Jul 2026 18:00:00 +0000

Type Values Removed Values Added
Description 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.
Title apidevtools json-schema-ref-parser pointer.ts Pointer.set prototype pollution
First Time appeared Apidevtools
Apidevtools json-schema-ref-parser
Weaknesses CWE-1321
CWE-94
CPEs cpe:2.3:a:apidevtools:json-schema-ref-parser:*:*:*:*:*:*:*:*
Vendors & Products Apidevtools
Apidevtools json-schema-ref-parser
References
Metrics cvssV2_0

{'score': 6.5, 'vector': 'AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C'}

cvssV3_0

{'score': 6.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C'}

cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C'}

cvssV4_0

{'score': 5.3, 'vector': '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'}


Subscriptions

Apidevtools Json-schema-ref-parser
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-07-09T18:23:06.195Z

Reserved: 2026-07-09T06:00:53.324Z

Link: CVE-2026-15195

cve-icon Vulnrichment

Updated: 2026-07-09T18:22:40.293Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T12:15:03Z

Weaknesses
  • CWE-1321

    Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')