{"id":"CVE-2020-12666","aliases":["CVE-2020-12666","GHSA-733f-44f3-3frw","GO-2020-0039"],"related":[],"kind":"vulnerability","state":"published","title":"gopkg.in/macaron.v1 Open Redirect vulnerability","summary":"macaron before 1.3.7 has an open redirect in the static handler, as demonstrated by the http://127.0.0.1:4000//example.com/ URL.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"macaron before 1.3.7 has an open redirect in the static handler, as demonstrated by the http://127.0.0.1:4000//example.com/ URL.","source":"cvelist"},{"lang":"en","text":"macaron before 1.3.7 has an open redirect in the static handler. Due to improper request santization, a specifically crafted URL can cause the static file handler to redirect to an attacker chosen URL, allowing for open redirect attacks.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Due to improper request sanitization, a specifically crafted URL can cause the static file handler to redirect to an attacker chosen URL, allowing for open redirect attacks.","format":"markdown","source":"go"},{"lang":"es","text":"macaron versiones anteriores a 1.3.7, presenta una redireccionamiento abierto en el controlador estático, como es demostrado por la URL http://127.0.0.1:4000//example.com/.","source":"nvd"}],"published":"2020-05-05T21:06:59.000Z","modified":"2026-06-17T02:52:06.073Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","score":5.8,"rating":"MEDIUM"}],"cwes":["CWE-601"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.3.7"}],"ecosystem":"Go","package":"gopkg.in/macaron.v1","purl":"pkg:golang/gopkg.in/macaron.v1","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.3.7"}],"ecosystem":"Go","package":"gopkg.in/macaron.v1","purl":"pkg:golang/gopkg.in/macaron.v1","source":"go"},{"ranges":[{"status":"affected","fixed":"1.3.7"}],"vendor":"go-macaron","product":"macaron","cpe":"cpe:2.3:a:go-macaron:macaron:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"32"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/go-macaron/macaron/releases/tag/v1.3.7","tags":["release-notes","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/go-macaron/macaron/issues/198","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3QEUOHRC4EN4WZ66EVFML2UCV7ZQ63XZ/","tags":["vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-12666","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/go-macaron/macaron/issues/198#issuecomment-622885959","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/go-macaron/macaron/pull/199","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/go-macaron/macaron/pull/199/commits/6bd9385542f7133467ab7d09a5f28f7d5dc52af7","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/go-macaron/macaron/commit/addc7461c3a90a040e79aa75bfd245107a210245","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/go-macaron/macaron","tags":["package"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3QEUOHRC4EN4WZ66EVFML2UCV7ZQ63XZ","tags":["web"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2020-0039","tags":["web"],"sources":["ghsa"]}],"credits":["@ev0A"],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-12666","url":"https://www.cve.org/CVERecord?id=CVE-2020-12666","licence":"CVE Terms of Use","modified":"2024-08-04T12:04:22.507Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-733f-44f3-3frw","url":"https://github.com/advisories/GHSA-733f-44f3-3frw","licence":"CC-BY-4.0","modified":"2024-05-20T19:24:04.000Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2020-0039","url":"https://pkg.go.dev/vuln/GO-2020-0039","licence":"CC-BY-4.0","modified":"2024-05-20T16:03:47.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-12666","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-12666","licence":"Public domain","modified":"2026-06-17T02:52:06.073Z"}],"updatedAt":"2026-11-25T22:57:52.294Z","epss":{"score":0.0141,"percentile":0.73446,"date":"2026-12-01T12:00:22.000Z"}}