# CVE-2020-36599: OmniAuth's `lib/omniauth/failure_endpoint.rb` does not escape `message_key` value

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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.20%, higher than 68% of CVEs (2026-12-01)
- Published: 2022-08-18T22:48:07.000Z
- Modified: 2026-06-17T03:15:46.290Z
- Also known as: GHSA-pm55-qfxr-h247
- Weaknesses: CWE-116
- Assigned by: mitre

## Description

lib/omniauth/failure_endpoint.rb in OmniAuth before 1.9.2 (and before 2.0) does not escape the message_key value.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- omniauth (RubyGems): before 1.9.2; from 2.0.0.pre.rc1 before 2.0.0
- omniauth omniauth: before 1.9.2; 2.0.0

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/omniauth/omniauth/commit/43a396f181ef7d0ed2ec8291c939c95e3ed3ff00#diff-575abda9deb9b1a77bf534e898a923029b9a61e991d626db88dc6e8b34260aa2> (patch, third-party-advisory, web)
- <https://rubygems.org/gems/omniauth/versions/1.9.2> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-36599> (advisory)
- <https://github.com/omniauth/omniauth> (package)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/omniauth/CVE-2020-36599.yml> (web)

## Sources

- CVE List: [CVE-2020-36599](https://www.cve.org/CVERecord?id=CVE-2020-36599), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-pm55-qfxr-h247](https://github.com/advisories/GHSA-pm55-qfxr-h247), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2020-36599](https://nvd.nist.gov/vuln/detail/CVE-2020-36599), Public domain, modified 2026-06-17

---

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