CVE-2025-47910

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

State
Published
Severity
5.4 Medium
Published
Sep 22, 2025
Updated
Sep 24, 2025
Reserved
May 13, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.4 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:NCISA-ADP

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
net/httpGo standard library
  • 1.25.0 to before 1.25.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.