Critical
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-20146
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 09:45 UTC · Revision 1
Source evidence
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.
osv:CVE-2017-20146
Complete source record
{
"id": "96e016aa699b363e9747f16f660e365f206eaeb288e0cfd475940d13d301580e",
"url": "https://osv.dev/vulnerability/CVE-2017-20146",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-20146",
"summary": "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.",
"evidence": "osv:CVE-2017-20146",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2017-20146",
"aliases": [
"CVE-2017-20146",
"GHSA-jcr6-mmjj-pchw",
"GO-2020-0020"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/gorilla/handlers",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "90663712d74cb411cbef281bc1e08c19d1a76145"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:gorillatoolkit:handlers:*:*:*:*:*:go:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.3.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "90663712d74cb411cbef281bc1e08c19d1a76145"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v1.2.1",
"v1.2",
"v1.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-20146.json"
}
}
],
"modified": "2026-10-20T10:47:48.980011295Z",
"provider": "osv",
"references": [
"https://pkg.go.dev/vuln/GO-2020-0020",
"https://github.com/gorilla/handlers/commit/90663712d74cb411cbef281bc1e08c19d1a76145",
"https://github.com/gorilla/handlers/pull/116"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2017-20146",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 379739,
"published_at": "2022-12-27T22:15:11.07+00:00"
}