When using http.CrossOriginProtection, the...
Moderate severity
Unreviewed
Published
Sep 22, 2025
to the GitHub Advisory Database
•
Updated Sep 24, 2025
Description
Published by the National Vulnerability Database
Sep 22, 2025
Published to the GitHub Advisory Database
Sep 22, 2025
Last updated
Sep 24, 2025
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.
References