CVE-2026-5323: Puppeteer Ssrf Goto

Direct use of untrusted inputs in Puppeteer's `page.goto()` without adequate validation can lead to Server-Side Request Forgery (SSRF) or local file read. Ensure that URLs are rigorously validated, restricted to safe schemes (e.g., http/https), and check against loopback/internal IP addresses before navigation.

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0JS
greprules fetch cve-2026-5323-puppeteer-ssrf-goto --engine opengrep

Description

Direct use of untrusted inputs in Puppeteer's `page.goto()` without adequate validation can lead to Server-Side Request Forgery (SSRF) or local file read. Ensure that URLs are rigorously validated, restricted to safe schemes (e.g., http/https), and check against loopback/internal IP addresses before navigation.