CVE 5.4 MEDIUM

CrossOriginProtection insecure bypass patterns not limited to exact matches in net/http_CVE-2025-47910

5.4 / 10
MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

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.

Basic Information

ID CVE-2025-47910
Source Go
Published Sep 22, 2025 at 21:01
Modified Sep 24, 2025 at 13:29

Affected Product

Vendor Go standard library
Product net/http
Version 1.25.0
Affected Versions Go standard library net/http 1.25.0

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.