Intel

AIKIDO-2026-516453

@apidevtools/json-schema-ref-parser is vulnerable to Prototype Pollution

CVE-2026-15195Published Aug 3, 2026
August 3, 2026

21

CVE Score

Low

Prototype Pollution

Are you affected? Scan for Free

TL;DR

The library exposes public $Refs.set() and Pointer.set() APIs that write values into a schema object using JSON Pointer tokens. The internal pointer setter performs nested writes without rejecting dangerous tokens such as __proto__, constructor, and prototype. Passing a crafted pointer string lets externally influenced input modify Object.prototype, corrupting application-wide object behavior. The fix rejects unsafe JSON Pointer assignment tokens before the nested write occurs.

How do I fix this?

Upgrade the @apidevtools/json-schema-ref-parser library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application passes externally influenced JSON Pointer strings to the $Refs.set() or Pointer.set() API.

Versions

15.3.0 - 15.3.5

Fixed in 15.3.6

Background info

@apidevtools/json-schema-ref-parser is vulnerable to Prototype Pollution in versions 15.3.0 - 15.3.5.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea