---
id: CVE-2025-47910
title: >-
  When using http.CrossOriginProtection, the AddInsecureBypassPattern method can
  unexpectedly bypass more requests than intended
summary: >-
  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…
severity: medium
cvss: 5.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N'
published: '2025-09-22'
updated: '2026-10-11'
sourceUpdated: '2026-10-11T20:10:00.200'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-47910'
references:
  - url: 'https://go.dev/cl/699275'
    label: security@golang.org
  - url: 'https://go.dev/issue/75054'
    label: security@golang.org
  - url: 'https://groups.google.com/g/golang-announce/c/PtW9VW21NPs/m/DJhMQ-m5AQAJ'
    label: security@golang.org
  - url: 'https://pkg.go.dev/vuln/GO-2025-3955'
    label: security@golang.org
tags:
  - nvd
epss: 0.0033
epssPercentile: 0.24156
ingestedAt: '2026-10-12T14:50:33.968Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
