Home

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.

PUBLISHED Reserved 2025-05-13 | Published 2025-09-22 | Updated 2025-09-24 | Assigner Go

Problem types

CWE-284: Improper Access Control

Product status

Default status
unaffected

1.25.0 (semver) before 1.25.1
affected

References

go.dev/cl/699275

go.dev/issue/75054

groups.google.com/...g-announce/c/PtW9VW21NPs/m/DJhMQ-m5AQAJ

pkg.go.dev/vuln/GO-2025-3955

cve.org (CVE-2025-47910)

nvd.nist.gov (CVE-2025-47910)

Download JSON