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.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Mon, 22 Sep 2025 21:15:00 +0000

Type Values Removed Values Added
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.
Title CrossOriginProtection insecure bypass patterns not limited to exact matches in net/http
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Go

Published:

Updated: 2025-09-22T21:01:55.440Z

Reserved: 2025-05-13T23:31:29.597Z

Link: CVE-2025-47910

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-09-22T21:15:59.627

Modified: 2025-09-22T21:22:16.313

Link: CVE-2025-47910

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.