@apidevtools/json-schema-ref-parser is vulnerable to Prototype Pollution
21
CVE Score
Low
Prototype Pollution
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.
Upgrade the @apidevtools/json-schema-ref-parser library to the patch version.
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.
15.3.0 - 15.3.5
Fixed in 15.3.6@apidevtools/json-schema-ref-parser is vulnerable to Prototype Pollution in versions 15.3.0 - 15.3.5.
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.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.