CVE-2020-36599

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

published August 18, 2022

CVSS
—
EPSS
1%
Percentile
67.0
In the wild
Unconfirmed
What it is

⚠️ A missing escape in the message_key value could lead to a sneaky injection! This vulnerability in OmniAuth before 1.9.2 is like a party invitation that lets the wrong guest in! 🎉 Think of this as a restaurant where the menu doesn’t double-check its ingredients. If a chef adds something unexpected, like a secret allergen, it could lead to serious consequences for unsuspecting diners! While there's no reported exploitation yet, an attacker could potentially manipulate the message_key value, leading to unexpected behavior or attacks on users through injection. The implications could range from harmless to damaging if not addressed. It's best to be proactive!

Put simply

Think of this as a restaurant where the menu doesn’t double-check its ingredients. If a chef adds something unexpected, like a secret allergen, it could lead to serious consequences for unsuspecting diners! This vulnerability allows an attacker to inject arbitrary data into the message_key value due to a lack of proper escaping in the code, which could lead to various attack vectors like cross-site scripting (XSS).

What to do

While there's no reported exploitation yet, an attacker could potentially manipulate the message_key value, leading to unexpected behavior or attacks on users through injection. The implications could range from harmless to damaging if not addressed. It's best to be proactive! Upgrade OmniAuth to version 1.9.2 or later to close this gap. Review your application for potential message_key usage, and implement proper escaping to ensure user data is safeguarded against injection attacks. You've got this! By taking these steps, you're not just fixing a vulnerability—you're actively making the web a safer place! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01163 · 67.0th percentile
Published
2022-08-18T22:48Z
EPSS history
Timeline
  • 18 AUG 22:48Z
    lib/omniauth/failure_endpoint.rb in OmniAuth before 1.9.2 (and before 2.0) does not escape the message_key value
    cvelistv5