CVE-2020-5497 XSS in MITREid Connect
Cross-site scripting vulnerability in MITREid Connect allows attackers to execute arbitrary JavaScript via unsanitized user info JSON.
- 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
- None listed
What is CVE-2020-5497?
CVE-2020-5497 is a medium-severity cross-site scripting vulnerability in n/a, published on 4 Jan 2020. 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
The OpenID Connect reference implementation for MITREid Connect through 1.3.3 allows XSS due to userInfoJson being included in the page unsanitized. This is related to header.tag. The issue can be exploited to execute arbitrary JavaScript.
Weakness: CWE-79
Which versions are affected by CVE-2020-5497?
2 open source packages ship an affected version, including org.mitre:openid-connect-server. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.mitre:openid-connect-server Maven | All versions to 1.3.3 | None |
org.mitre:openid-connect-server Maven | All versions to 1.3.3 | None |
Products include Mitreid Connect.
How do I fix CVE-2020-5497?
No fix has been published for CVE-2020-5497 yet. Limit exposure of the affected software until one is available.
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-2020-5497 being exploited?
There is no known exploitation of CVE-2020-5497 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-c2h6-7gm8-cv4w.