keycloak: improper input validation permits script injection
Published Sep 1, 2022
5.4
MEDIUMCVSS 3.1
EPSS 0.68%
Description
A Stored Cross-site scripting (XSS) vulnerability was found in keycloak as shipped in Red Hat Single Sign-On 7. This flaw allows a privileged attacker to execute malicious scripts in the admin console, abusing the default roles functionality.
Affected products
- Vendor n/a Product Keycloak Defaultn/a
- Version keycloak as shipped in Red Hat Single Sign-On 7StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | Keycloak | n/a |
|
- 7.0
No data.
Red Hat Single Sign-On 7
rh-sso7-keycloak
Fixed · RHSA-2022:6787
Red Hat Single Sign-On 7.5 for RHEL 7
rh-sso7-keycloak-0:15.0.8-1.redhat_00001.1.el7sso
Fixed · RHSA-2022:6782
Red Hat Single Sign-On 7.5 for RHEL 8
rh-sso7-keycloak-0:15.0.8-1.redhat_00001.1.el8sso
Fixed · RHSA-2022:6783
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Single Sign-On 7 | rh-sso7-keycloak | Fixed | RHSA-2022:6787 |
| Red Hat Single Sign-On 7.5 for RHEL 7 | rh-sso7-keycloak-0:15.0.8-1.redhat_00001.1.el7sso | Fixed | RHSA-2022:6782 |
| Red Hat Single Sign-On 7.5 for RHEL 8 | rh-sso7-keycloak-0:15.0.8-1.redhat_00001.1.el8sso | Fixed | RHSA-2022:6783 |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N
1 other source (GHSA) ▾
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (15 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 0.68% (0.00681) | 50.73th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.55% (0.00550) | 41.47th | v5 (v2026.06.15) |
| Mar 30, 2025 | 0.27% (0.00267) | 47.26th | v4 (v2025.03.14) |
| Mar 29, 2025 | 1.65% (0.01648) | 70.51th | v4 (v2025.03.14) |
| Mar 24, 2025 | 0.27% (0.00267) | 47.30th | v4 (v2025.03.14) |
| Mar 23, 2025 | 1.65% (0.01648) | 78.30th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.27% (0.00267) | 48.17th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.05% (0.00054) | 24.72th | v3 (v2023.03.01) |
| Jun 21, 2024 | 0.05% (0.00054) | 22.81th | v3 (v2023.03.01) |
| Mar 30, 2024 | 0.05% (0.00054) | 20.78th | v3 (v2023.03.01) |
| Sep 8, 2023 | 0.05% (0.00053) | 18.77th | v3 (v2023.03.01) |
| Aug 2, 2023 | 0.07% (0.00069) | 28.37th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.06% (0.00063) | 25.41th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.89% (0.00885) | 27.89th | v2 (v2022.01.01) |
| Sep 2, 2022 | 0.89% (0.00885) | 26.14th | v2 (v2022.01.01) |
References (7)
- https://access.redhat.com/security/cve/CVE-2022-2256 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2101942 x_refsource_MISCIssue TrackingVendor Advisory
- https://github.com/advisories/GHSA-w9mf-83w3-fv49 Advisory
- https://github.com/keycloak/keycloak/commit/8e705a65ab2aa2b079374ec859ee7a75fad5a7d9
- https://github.com/keycloak/keycloak/security/advisories/GHSA-w9mf-83w3-fv49 x_refsource_MISCBroken LinkThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2022-2256
- https://www.cve.org/CVERecord?id=CVE-2022-2256
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2022-2256 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2101942 | x_refsource_MISCIssue TrackingVendor Advisory | |
| https://github.com/advisories/GHSA-w9mf-83w3-fv49 | Advisory | |
| https://github.com/keycloak/keycloak/commit/8e705a65ab2aa2b079374ec859ee7a75fad5a7d9 | ||
| https://github.com/keycloak/keycloak/security/advisories/GHSA-w9mf-83w3-fv49 | x_refsource_MISCBroken LinkThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-2256 | ||
| https://www.cve.org/CVERecord?id=CVE-2022-2256 |
Change history (0)
No recorded changes yet.