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)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1MEDIUM5.4CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

References (6)