ADVISORIES

GitHub Advisory Database

GHSA-5x84-q523-vvwr

nosurf vulnerable to improper input validation

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

EcosystemPackageAffected versions
Gogithub.com/justinas/nosurf
All versions before 1.1.1 (fixed in 1.1.1)

References