Go Vulnerability Database
GO-2025-3683
Vulnerable to CSRF due to non-functional same-origin request checks in github.com/justinas/nosurf
Details
Vulnerable to CSRF due to non-functional same-origin request checks in github.com/justinas/nosurf
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/justinas/nosurf | All versions before 1.2.0 (fixed in 1.2.0) |
References
- https://github.com/justinas/nosurf/security/advisories/GHSA-w9hf-35q4-vcjw
- https://github.com/justinas/nosurf/commit/ec9bb776d8e5ba9e906b6eb70428f4e7b009feee
- https://github.com/advisories/GHSA-rq77-p4h8-4crw
- https://github.com/justinas/nosurf-cve-2025-46721
- https://github.com/justinas/nosurf/releases/tag/v1.2.0