CVE-2020-1697 json
XSS in Keycloak
published 6y ago modified 4mo ago also GHSA-8vf3-4w62-m3pq , EUVD-2020-0373
- cvss
- 6.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 55%
- public exploits
- 0
- none known
Summary
It was found in all keycloak versions before 9.0.0 that links to external applications (Application Links) in the admin console are not validated properly and could allow Stored XSS attacks. An authed malicious user could create URLs to trick users in other realms, and possibly conduct further attacks.
Patch / fix
- maven org.keycloak:keycloak-core 9.0.0
- redhat keycloak 9.0.0
Is CVE-2020-1697 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 FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-1697 updated cvss 6.1
keycloak: stored XSS in client settings via application links
-
Red Hat Mobile Application Platform 4 keycloakaffected: no fix planned “Out of support scope”
-
Red Hat OpenShift Application Runtimes keycloak keycloak Red Hat Single Sign-On 7 rh-sso7-keycloak rh-sso7-keycloak Red Hat support for Spring Boot keycloak keycloakaffected: no fix available
-
Red Hat Runtimes Spring Boot 2.2.6fixed: vendor fix RHSA-2020:2252
-
Red Hat Single Sign-On 7.3fixed: vendor fix RHSA-2020:0445
-
Red Hat Text-Only RHOARfixed: vendor fix RHSA-2020:2905
-
Red Hat Fuse 7 keycloak keycloaknot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.76% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
| GitHub | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.keycloak:keycloak-core | <9.0.0 |
9.0.0 |
Affected products
- Red Hat keycloak
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
bugzilla.redhat.com
/show_bug.cgi?id=CVE-2020-1697
web, issue-tracking, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-1697
advisory
Sources
- CVE List CVE-2020-1697
- GitHub Advisory GHSA-8vf3-4w62-m3pq
- NVD CVE-2020-1697
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.