VDB
Sign up
—

GO-2025-3683

Vulnerable to CSRF due to non-functional same-origin request checks in github.com/justinas/nosurf

Quick fix

GO-2025-3683 — github.com/justinas/nosurf: upgrade to the fixed version with the command below.

go get github.com/justinas/nosurf@v1.2.0

Details

Vulnerable to CSRF due to non-functional same-origin request checks in github.com/justinas/nosurf

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/justinas/nosurf
Introduced in: 0Fixed in: 1.2.0
Fixgo get github.com/justinas/nosurf@v1.2.0

References