Skip to content
OpenAdvisories
High · 7.5 CVE-2020-36564 EUVD-2022-7521GHSA-5x84-q523-vvwrGO-2020-0049

Improper input validation in github.com/justinas/nosurf

Published Dec 27, 2022 · Updated Apr 11, 2025 · Assigned by Go

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.

Affected products

VendorProductAffectedFixed
github.com/justinas/nosurf github.com/justinas/nosurf < 1.1.1 1.1.1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/justinas/nosurf < 1.1.1 1.1.1 GHSA-5x84-q523-vvwr

References