Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Go standard library / net/http | affected 1.25.0 before 1.25.1 |
CWE
No CWE identifiers supplied.
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
ADP enrichment
No English description supplied.
No references supplied.