Live threats

All CVEs / Nosurf Project

CVE-2020-36564Nosurf Project Nosurf

High 7.5 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Nosurf.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
nosurf_projectnosurf< 1.1.1

Official sources

References

Links published by the sources. Open them with care.