Skip to content
CVE PROGRAM SOURCE RECORD5.4 Medium

CVE-2025-47910

CrossOriginProtection insecure bypass patterns not limited to exact matches in net/http

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Go standard library net/http

Default version status: unaffected

  • 1.25.0 to < 1.25.1affected

References