CVE-2022-2256: XSS

Published Jun 28, 2022
·
Updated

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.

Other sources

A Stored Cross-site scripting (XSS) vulnerability was found in keycloak. This flaw allows a privileged attacker to execute malicious scripts in the admin console, abusing the default roles functionality.

Keycloak does not properly sanitize inputs in certain UI fields in client registration. A malicious authenticated user with administrative privileges could use this flaw to conduct cross-site scripting attacks and possibly gain access to user-sensitive information.

Red Hat

Affected Software

3 affected componentsFixes available
redhat/rh-sso7-keycloak<0:15.0.8-1.redhat_00001.1.el7
0:15.0.8-1.redhat_00001.1.el7
redhat/rh-sso7-keycloak<0:15.0.8-1.redhat_00001.1.el8
0:15.0.8-1.redhat_00001.1.el8
redhat Single Sign-on=7.0

Event History

Jun 28, 2022
CVE Published
12:00 AM
Data Sourced
via Red Hat·08:47 PM
DescriptionSeverityAffected Software
Sep 1, 2022
CVE Published
via MITRE·07:57 PM
Data Sourced
via MITRE·07:57 PM
DescriptionWeakness

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2022-2256?

CVE-2022-2256 is a Stored Cross-site scripting (XSS) vulnerability found in keycloak as shipped in Red Hat Single Sign-On 7.

2

How does CVE-2022-2256 affect Red Hat Single Sign-On 7?

CVE-2022-2256 allows a privileged attacker to execute malicious scripts in the admin console of Red Hat Single Sign-On 7, abusing the default roles functionality.

3

What is the severity of CVE-2022-2256?

CVE-2022-2256 has a severity rating of 3.8 (low).

4

How can I fix CVE-2022-2256 in Red Hat Single Sign-On 7?

To fix CVE-2022-2256 in Red Hat Single Sign-On 7, update to version 0:15.0.8-1.redhat_00001.1.el7 (or later) for el7 or version 0:15.0.8-1.redhat_00001.1.el8 (or later) for el8.

5

Where can I find more information about CVE-2022-2256?

You can find more information about CVE-2022-2256 at the following references: [RHSA-2022:6782](https://access.redhat.com/errata/RHSA-2022:6782), [RHSA-2022:6783](https://access.redhat.com/errata/RHSA-2022:6783), [RHSA-2022:6787](https://access.redhat.com/errata/RHSA-2022:6787).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203