CVE-2025-47910
MEDIUM5.4EPSS 0.01%CrossOriginProtection insecure bypass patterns not limited to exact matches in net/http
Published: 9/22/2025Modified: 5/15/2026
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 packages (3)
- Bitnami/golang>= 1.25.0, < 1.25.1
- Debian/golang-1.25from 0, < 1.25.1-1
- Go/stdlib>= 1.25.0, < 1.25.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |