Vulnerability
CVE-2025-47910
When using http.CrossOriginProtection, the AddInsecureBypassPattern method can unexpectedly bypass more requests than intended. CrossOriginProtection then skips validation, but forwards the original request path, which may be served by a different handler without the intended security protections.
1331 advisories report this vulnerability, across 11 ecosystems.
Advisories in Go
-
GO-2025-3955
CrossOriginProtection insecure bypass patterns not limited to exact matches in net/http