{"id":"CVE-2020-36564","aliases":["CVE-2020-36564","GHSA-5x84-q523-vvwr","GO-2020-0049"],"related":[],"kind":"vulnerability","state":"published","title":"Improper input validation in github.com/justinas/nosurf","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Debido a una validación incorrecta de la entrada de la persona que llama, la validación se desactiva silenciosamente si el token esperado proporcionado tiene un formato incorrecto, lo que hace que cualquier token proporcionado por el usuario se considere válido.","source":"nvd"}],"published":"2021-04-14T20:04:52.000Z","modified":"2026-06-17T03:15:44.917Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-20"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.1.1","status":"affected"}],"vendor":"github.com/justinas/nosurf","product":"github.com/justinas/nosurf","package":"github.com/justinas/nosurf","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.1.1"}],"ecosystem":"Go","package":"github.com/justinas/nosurf","purl":"pkg:golang/github.com/justinas/nosurf","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.1.1"}],"ecosystem":"Go","package":"github.com/justinas/nosurf","purl":"pkg:golang/github.com/justinas/nosurf","source":"go"},{"ranges":[{"status":"affected","fixed":"1.1.1"}],"vendor":"nosurf_project","product":"nosurf","cpe":"cpe:2.3:a:nosurf_project:nosurf:*:*:*:*:*:go:*:*","source":"nvd"}],"references":[{"url":"https://github.com/justinas/nosurf/pull/60","tags":["fix","patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/justinas/nosurf/commit/4d86df7a4affa1fa50ab39fb09aac56c3ce9c314","tags":["fix","patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://pkg.go.dev/vuln/GO-2020-0049","tags":["third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36564","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/justinas/nosurf","tags":["package"],"sources":["ghsa"]}],"credits":["@aeneasr"],"assigner":"Go","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-04-11T16:25:49.012Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-36564","url":"https://www.cve.org/CVERecord?id=CVE-2020-36564","licence":"CVE Terms of Use","modified":"2025-04-11T16:26:19.344Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5x84-q523-vvwr","url":"https://github.com/advisories/GHSA-5x84-q523-vvwr","licence":"CC-BY-4.0","modified":"2023-11-08T04:03:47.666Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2020-0049","url":"https://pkg.go.dev/vuln/GO-2020-0049","licence":"CC-BY-4.0","modified":"2024-05-20T16:03:47.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-36564","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36564","licence":"Public domain","modified":"2026-06-17T03:15:44.917Z"}],"updatedAt":"2026-11-25T22:57:58.777Z","epss":{"score":0.00783,"percentile":0.57215,"date":"2026-12-01T12:00:22.000Z"}}