# CVE-2020-12666: gopkg.in/macaron.v1 Open Redirect vulnerability

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.41%, higher than 73% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-05-05T21:06:59.000Z
- Modified: 2026-06-17T02:52:06.073Z
- Also known as: GHSA-733f-44f3-3frw, GO-2020-0039
- Weaknesses: CWE-601
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- gopkg.in/macaron.v1 (Go): before 1.3.7
- go-macaron macaron: before 1.3.7
- fedoraproject fedora: 32

## Every score

- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 5.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:N`

## References

- <https://github.com/go-macaron/macaron/issues/198> (exploit, third-party-advisory, web)
- <https://github.com/go-macaron/macaron/releases/tag/v1.3.7> (release-notes, third-party-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3QEUOHRC4EN4WZ66EVFML2UCV7ZQ63XZ/> (vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-12666> (advisory)
- <https://github.com/go-macaron/macaron/issues/198#issuecomment-622885959> (web)
- <https://github.com/go-macaron/macaron/pull/199> (fix, web)
- <https://github.com/go-macaron/macaron/pull/199/commits/6bd9385542f7133467ab7d09a5f28f7d5dc52af7> (web)
- <https://github.com/go-macaron/macaron/commit/addc7461c3a90a040e79aa75bfd245107a210245> (fix, web)
- <https://github.com/go-macaron/macaron> (package)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3QEUOHRC4EN4WZ66EVFML2UCV7ZQ63XZ> (web)
- <https://pkg.go.dev/vuln/GO-2020-0039> (web)

## Sources

- CVE List: [CVE-2020-12666](https://www.cve.org/CVERecord?id=CVE-2020-12666), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-733f-44f3-3frw](https://github.com/advisories/GHSA-733f-44f3-3frw), CC-BY-4.0, modified 2024-05-20
- Go Vulnerability Database: [GO-2020-0039](https://pkg.go.dev/vuln/GO-2020-0039), CC-BY-4.0, modified 2024-05-20
- NVD: [CVE-2020-12666](https://nvd.nist.gov/vuln/detail/CVE-2020-12666), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-12666 · Whole record: https://cve.day/CVE-2020-12666.json · Rebuilt by cve.day 2026-11-25T22:57:52.294Z
