What’s Vulnerable › Vulnerabilities
CVE-2025-47910: CrossOriginProtection insecure bypass patterns not limited to exact matches in net/http
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-09-22 · updated 2026-10-11
Description
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.
Affected products
- Go standard library net/http: from 1.25.0 before 1.25.1 — fixed in 1.25.1
How to fix
Upgrade to a fixed version: Go standard library net/http 1.25.1. Check the vendor advisory for mitigations.
References
- https://go.dev/cl/699275
- https://go.dev/issue/75054
- https://groups.google.com/g/golang-announce/c/PtW9VW21NPs/m/DJhMQ-m5AQAJ
- https://pkg.go.dev/vuln/GO-2025-3955
Get alerted when CVE-2025-47910 or the next vulnerability affects your stack