CVE-2020-5497 XSS in MITREid Connect

Medium 6.1 Published Updated

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.

PackageAffectedFixed in
org.mitre:openid-connect-server MavenAll versions to 1.3.3None
org.mitre:openid-connect-server MavenAll versions to 1.3.3None

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.

Sources

Also known as GHSA-c2h6-7gm8-cv4w.

Is CVE-2020-5497 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free