CVE-2020-5497 json
XSS in MITREid Connect
published 6y ago modified 4mo ago also GHSA-c2h6-7gm8-cv4w , EUVD-2020-0378
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.1%
- EPSS 2.1% chance of exploitation in 30 days, percentile 82%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
Is CVE-2020-5497 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
2.13% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/mitreid-connect/OpenID-Connect-Java-Spring-Server/issues/1521 referenced PoC, tagged "exploit" by a source, unverified
- securitymetrics.com https://www.securitymetrics.com/blog/MITREid-Connect-cross-site-scripting-CVE-2020-5497 referenced PoC, tagged "exploit" by a source, unverified
- packetstormsecurity.com http://packetstormsecurity.com/files/156574/MITREid-1.3.3-Cross-Site-Scripting.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.mitre:openid-connect-server | <=1.3.3 |
no fix listed |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/mitreid-connect/OpenID-Connect-Java-Spring-Server/pull/1526
web
-
github.com
/mitreid-connect/OpenID-Connect-Java-Spring-Server/pull/1527
web
-
github.com
/mitreid-connect/OpenID-Connect-Java-Spring-Server/issues/1521
web, exploit, issue-tracking, third-party-advisory
-
securitymetrics.com
/blog/MITREid-Connect-cross-site-scripting-CVE-2020-5497
web, exploit, third-party-advisory
-
packetstormsecurity.com
/files/156574/MITREid-1.3.3-Cross-Site-Scripting.html
web, exploit, third-party-advisory, vdb-entry
-
seclists.org
/fulldisclosure/2020/Feb/25
mailing-list, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-5497
advisory
Sources
- CVE List CVE-2020-5497
- GitHub Advisory GHSA-c2h6-7gm8-cv4w
- NVD CVE-2020-5497
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.