CVE-2022-4361: XSS

Published Dec 7, 2022
·
Updated

AssertionConsumerServiceURL is a Java implementation for SAML Service Providers (org.keycloak.protocol.saml). Affected versions of this package are vulnerable to Cross-site Scripting (XSS).

AssertionConsumerServiceURL allows XSS when sending a crafted SAML XML request.

Other sources

Keycloak, an open-source identity and access management solution, has a cross-site scripting (XSS) vulnerability in the SAML or OIDC providers. The vulnerability can allow an attacker to execute malicious scripts by setting the AssertionConsumerServiceURL value or the redirecturi.

Affected Software

13 affected componentsFixes available
maven/org.keycloak:keycloak-services<21.1.2
21.1.2
redhat keycloak<21.1.2
redhat Single Sign-on>=7.6<7.6.4
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
redhat Single Sign-on
redhat OpenShift Container Platform=4.11
redhat OpenShift Container Platform=4.12
redhat Openshift Container Platform For Ibm Linuxone=4.9
redhat Openshift Container Platform For Ibm Linuxone=4.10
redhat Openshift Container Platform For Power=4.9
redhat Openshift Container Platform For Power=4.10

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.keycloak:keycloak-services to a version that resolves this vulnerability.

    Fixed in 21.1.2

Event History

Dec 7, 2022
Data Sourced
via Red Hat·04:10 PM
DescriptionSeverityAffected Software
Jun 30, 2023
Advisory Published
08:30 PM
Jul 7, 2023
CVE Published
via MITRE·07:57 PM
Data Sourced
via MITRE·07:57 PM
DescriptionSeverityWeakness
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-4361?

CVE-2022-4361 is a cross-site scripting (XSS) vulnerability in Keycloak, an open-source identity and access management solution.

2

Which software is affected by CVE-2022-4361?

Keycloak versions up to 21.1.2, Redhat Single Sign-on versions up to 7.6.4, and certain versions of Redhat Openshift Container Platform are affected by CVE-2022-4361.

3

How severe is CVE-2022-4361?

CVE-2022-4361 has a severity level of 6.1 (Critical).

4

How does CVE-2022-4361 work?

CVE-2022-4361 allows an attacker to execute malicious scripts by setting the AssertionConsumerServiceURL value or the redirect_uri.

5

How can I fix CVE-2022-4361?

To fix CVE-2022-4361, it is recommended to update to the latest versions of Keycloak, Redhat Single Sign-on, or Redhat Openshift Container Platform.

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