GO-2025-3955
Dashboard / Vulnerabilities / GO-2025-3955
GO-2025-3955
Published: 22 Sept 2025Last Modified: 15 May 2026
Summary: CrossOriginProtection insecure bypass patterns not limited to exact matches in net/http
Details: 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.
References: https://go.dev/cl/699275, https://go.dev/issue/75054, https://groups.google.com/g/golang-announce/c/PtW9VW21NPs/m/DJhMQ-m5AQAJ
Affected packages
Package
Name: stdlib
Purl: pkg:golang/stdlib
Affected ranges
Type: SEMVER
Events:
Introduced- 1.25.0
Fixed -1.25.1
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
