CVE-2026-49213: Ssrf Url Validation Without Safe Dispatcher

HTTP request is performed after URL validation without specifying a safe dispatcher in fetch options. This allows DNS rebinding attacks to bypass SSRF validation. Pass a safe dispatcher (e.g. `dispatcher: getSafeDispatcher()`) in the fetch options.

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0TS
greprules fetch cve-2026-49213-ssrf-url-validation-without-safe-dispatcher --engine opengrep

Description

HTTP request is performed after URL validation without specifying a safe dispatcher in fetch options. This allows DNS rebinding attacks to bypass SSRF validation. Pass a safe dispatcher (e.g. `dispatcher: getSafeDispatcher()`) in the fetch options.