CVE-2020-36564Nosurf Project Nosurf
High 7.5 No auth needed
Follow: this CVE · Nosurf Project · Nosurf Project Nosurf We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 57
- Auth required
- No
- Published
- Dec 27, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Nosurf.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/justinas/nosurf |
< 1.1.1 |
1.1.1 |
go get github.com/justinas/nosurf@v1.1.1 |
| Go | github.com/justinas/nosurf |
< 1.1.1 |
1.1.1 |
go get github.com/justinas/nosurf@v1.1.1 |
Per OSV / GitHub Advisories (GHSA-5x84-q523-vvwr, GO-2020-0049). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| nosurf_project | nosurf | < 1.1.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- pkg.go.dev Third Party Advisory