| { |
| "schema_version": "1.3.1", |
| "id": "GO-2025-3683", |
| "modified": "0001-01-01T00:00:00Z", |
| "published": "0001-01-01T00:00:00Z", |
| "aliases": [ |
| "CVE-2025-46721", |
| "GHSA-w9hf-35q4-vcjw" |
| ], |
| "summary": "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": [ |
| { |
| "package": { |
| "name": "github.com/justinas/nosurf", |
| "ecosystem": "Go" |
| }, |
| "ranges": [ |
| { |
| "type": "SEMVER", |
| "events": [ |
| { |
| "introduced": "0" |
| }, |
| { |
| "fixed": "1.2.0" |
| } |
| ] |
| } |
| ], |
| "ecosystem_specific": { |
| "imports": [ |
| { |
| "path": "github.com/justinas/nosurf", |
| "symbols": [ |
| "CSRFHandler.ServeHTTP", |
| "New", |
| "NewPure" |
| ] |
| } |
| ] |
| } |
| } |
| ], |
| "references": [ |
| { |
| "type": "ADVISORY", |
| "url": "https://github.com/justinas/nosurf/security/advisories/GHSA-w9hf-35q4-vcjw" |
| }, |
| { |
| "type": "FIX", |
| "url": "https://github.com/justinas/nosurf/commit/ec9bb776d8e5ba9e906b6eb70428f4e7b009feee" |
| }, |
| { |
| "type": "WEB", |
| "url": "https://github.com/advisories/GHSA-rq77-p4h8-4crw" |
| }, |
| { |
| "type": "WEB", |
| "url": "https://github.com/justinas/nosurf-cve-2025-46721" |
| }, |
| { |
| "type": "WEB", |
| "url": "https://github.com/justinas/nosurf/releases/tag/v1.2.0" |
| } |
| ], |
| "database_specific": { |
| "url": "https://pkg.go.dev/vuln/GO-2025-3683", |
| "review_status": "REVIEWED" |
| } |
| } |