CVE-2025-46721 is a Cross-Site Request Forgery (CSRF) bypass vulnerability affecting nosurf versions prior to 1.2.0, a Go middleware for CSRF protection. The vulnerability, rated Medium severity (CVSS 6.1), stems from nosurf's miscategorization of incoming requests as plain-text HTTP, leading to a failure in Referer header origin checks. An attacker with control over content on the target site or a subdomain can exploit this to manipulate cookies, acquire or override CSRF tokens, and forge requests on a user's behalf, resulting in potential information disclosure and integrity compromise. There is no evidence of active exploitation, public exploit code, or significant community discussion, and it is not listed in CISA's KEV catalog.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
< 1.2.0CPE matchmatch criteria | cpe:2.3:a:nosurf_project:nosurf:*:*:*:*:*:go:*:* |
CVSS version used by this source: 4.0
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.0 Mastodon, and 0.1 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.