Go Vulnerability Database
GO-2020-0049
Improper input validation in github.com/justinas/nosurf
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/justinas/nosurf | All versions before 1.1.1 (fixed in 1.1.1) |