Security mailing lists by PureSourceCode

CVE-2017-20146

CRITICAL 9.8CVSS 3.1

gorilla/handlers may allow requester to bypass expected behavior of the Same Origin Policy

Usage of the CORS handler may apply improper CORS headers, allowing the requester to explicitly control the value of the Access-Control-Allow-Origin header, which bypasses the expected behavior of the Same Origin Policy.

Published
27 Dec 2022
Last modified
17 Jun 2026
Assigned by
security@golang.org
NVD status
Modified
Weakness
CWE-346
Also known as
GHSA-jcr6-mmjj-pchwGO-2020-0020
Sources
NVDJSONOSV GHSA-jcr6-mmjj-pchwJSONOSV GO-2020-0020JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD gorillatoolkit handlers
cpe:2.3:a:gorillatoolkit:handlers:*:*:*:*:*:go:*:*
< 1.3.0 1.3.0
OSV Go github.com/gorilla/handlers < 1.3.0 1.3.0

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 27 Dec 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Apr 2021)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 28 Dec 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.