Intel

AIKIDO-2026-933244

@apidevtools/json-schema-ref-parser is vulnerable to Server-Side Request Forgery (SSRF)

Server-Side Request Forgery (SSRF) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Today

54

Medium Risk

This Affects:

JS@apidevtools/json-schema-ref-parser
14.0.0 - 15.5.0
Fixed in 15.5.1
Are you affected? Scan for Free

TL;DR

The HTTP resolver fetches externally influenced $ref URLs and, when the safe-URL option is enabled, validates them with a string-only check that inspects the literal hostname. A hostname that passes validation can resolve to a private address, allowing DNS rebinding to reach internal network resources. Cross-origin redirects also resend the configured Authorization, Cookie, and proxy headers, exposing credentials to unintended hosts. The fix resolves and pins validated addresses, fails closed on unsafe resolution, and strips sensitive headers on cross-origin redirects.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you resolve externally influenced $ref URLs over HTTP while relying on the safeUrlResolver option or sending authenticated requests.

Background info

@apidevtools/json-schema-ref-parser is vulnerable to Server-Side Request Forgery (SSRF) in versions 14.0.0 - 15.5.0.

How to fix this

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