CVE-2019-8400 Hydra has Reflected XSS via error_hint parameter
An attacker can execute arbitrary scripts in a victim's browser via the error_hint parameter in ORY Hydra's OAuth2 fallback error page.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2019-8400?
CVE-2019-8400 is a medium-severity cross-site scripting vulnerability in n/a, published on 17 Feb 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
ORY Hydra before v1.0.0-rc.3+oryOS.9 has Reflected XSS via the oauth2/fallbacks/error error_hint parameter.
Weakness: CWE-79
Which versions are affected by CVE-2019-8400?
3 open source packages ship an affected version, including github.com/ory/hydra. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/ory/hydra Go | All versions | None |
github.com/ory/hydra Go | All versions | 1.4.8 |
github.com/ory/hydra Go | All versions | 1.4.8 |
Products include Ory Hydra.
How do I fix CVE-2019-8400?
Upgrade github.com/ory/hydra to 1.4.8 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2019-8400 being exploited?
There is no known exploitation of CVE-2019-8400 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-7v6r-w4r6-mhch, GO-2026-4861.