Description
Due to improper validation of caller input, validation is silently disabled if the provided expected token is malformed, causing any user supplied token to be considered valid.
References (3)
Core 3
Core References
Patch, Third Party Advisory
https://github.com/justinas/nosurf/commit/4d86df7a4affa1fa50ab39fb09aac56c3ce9c314
Patch, Third Party Advisory
https://github.com/justinas/nosurf/pull/60
Third Party Advisory
https://pkg.go.dev/vuln/GO-2020-0049
Scores
CVSS v3
7.5
EPSS
0.0031
EPSS Percentile
53.9%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-20
Status
published
Products (2)
justinas/nosurf
0 - 1.1.1Go
nosurf_project/nosurf
< 1.1.1
Published
Dec 27, 2022
Tracked Since
Feb 18, 2026