CVE & CISA-KEV Catalog

CVE-2022-4361

CRITICAL
10.0
CVSS v3
NVD

Description

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 redirect_uri.

How to fix

Remediation Available
rh-sso-7/sso76Red Hat / RHEL
Fixed in:openshift-rhel8@sha256:b8452b9ca79791555bb4709a4d3c81768e0571f72fe88480be9dfd585e02913e_s390xRHSA-2023:3888
Fixed in:openshift-rhel8@sha256:d15acb2c2c6bed9934c011c6864ca5c2ae989f783390bdb3eca77f5fc4ccc92a_amd64RHSA-2023:3888
Fixed in:openshift-rhel8@sha256:f52cb785c11ab691e0583a69e665496af83b4191037742ef2b1dd1237f42722e_ppc64leRHSA-2023:3888
rh-sso-7/sso76Rocky
Fixed in:openshift-rhel8@sha256:d15acb2c2c6bed9934c011c6864ca5c2ae989f783390bdb3eca77f5fc4ccc92a_amd64RHSA-2023:3888
Fixed in:openshift-rhel8@sha256:f52cb785c11ab691e0583a69e665496af83b4191037742ef2b1dd1237f42722e_ppc64leRHSA-2023:3888
Fixed in:openshift-rhel8@sha256:b8452b9ca79791555bb4709a4d3c81768e0571f72fe88480be9dfd585e02913e_s390xRHSA-2023:3888
rh-sso7-keycloakRed Hat / RHEL
Fixed in:0:18.0.8-1.redhat_00001.1.el7ssoRHSA-2023:3883

This Red Hat / RHEL release reached end-of-life on 2024-06-30. Extended security maintenance is available until 2029-05-31.

Fixed in:0:18.0.8-1.redhat_00001.1.el7ssoRHSA-2023:3883

This Red Hat / RHEL release reached end-of-life on 2024-06-30. Extended security maintenance is available until 2029-05-31.

Fixed in:0:18.0.8-1.redhat_00001.1.el8ssoRHSA-2023:3884
Fixed in:0:18.0.8-1.redhat_00001.1.el8ssoRHSA-2023:3884
Fixed in:0:18.0.8-1.redhat_00001.1.el9ssoRHSA-2023:3885
Fixed in:0:18.0.8-1.redhat_00001.1.el9ssoRHSA-2023:3885
rh-sso7-keycloakRocky
Fixed in:0:18.0.8-1.redhat_00001.1.el7ssoRHSA-2023:3883
Fixed in:0:18.0.8-1.redhat_00001.1.el7ssoRHSA-2023:3883
Fixed in:0:18.0.8-1.redhat_00001.1.el8ssoRHSA-2023:3884
Fixed in:0:18.0.8-1.redhat_00001.1.el8ssoRHSA-2023:3884
Fixed in:0:18.0.8-1.redhat_00001.1.el9ssoRHSA-2023:3885
Fixed in:0:18.0.8-1.redhat_00001.1.el9ssoRHSA-2023:3885
rh-sso7-keycloak-serverRocky
Fixed in:0:18.0.8-1.redhat_00001.1.el7ssoRHSA-2023:3883
Fixed in:0:18.0.8-1.redhat_00001.1.el8ssoRHSA-2023:3884
Fixed in:0:18.0.8-1.redhat_00001.1.el9ssoRHSA-2023:3885
rh-sso7-keycloak-serverRed Hat / RHEL
Fixed in:0:18.0.8-1.redhat_00001.1.el7ssoRHSA-2023:3883

This Red Hat / RHEL release reached end-of-life on 2024-06-30. Extended security maintenance is available until 2029-05-31.

Fixed in:0:18.0.8-1.redhat_00001.1.el8ssoRHSA-2023:3884
Fixed in:0:18.0.8-1.redhat_00001.1.el9ssoRHSA-2023:3885

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeChanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Exploit Intelligence

0.63%probability of exploitation in 30 days
48thpercentile

Moderate risk: more likely to be exploited than 48% of all known CVEs.

References

Vendor Advisory1

Related Vulnerabilities

Other CWE-81 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2022-4137High8.11.1%--
CVE-2024-6892Medium6.10.8%--
CVE-2019-25027Medium6.10.7%-Fix
CVE-2024-47882Medium5.90.5%-Fix
CVE-2025-24344Medium6.30.3%--
CVE-2025-0883Low2.10.3%--

Common questions

How do I fix CVE-2022-4361?

Published advisories record a fix for 6 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2022-4361 being actively exploited?

Not that we know of. CVE-2022-4361 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.63% is the estimated probability that it will be exploited in the next 30 days. That is higher than 48% of all scored CVEs.

How severe is CVE-2022-4361?

CVE-2022-4361 has a CVSS v3 base score of 10.0, rated critical. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2022-4361 affect?

Published advisories record a fix for rh-sso-7/sso76 (Red Hat / RHEL), rh-sso-7/sso76 (Rocky), rh-sso7-keycloak (Red Hat / RHEL), rh-sso7-keycloak (Rocky), and 2 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2022-4361
CVE-2022-4361 severity badge

Markdown

[![CVE-2022-4361](https://tridentstack.com/cve/badge/CVE-2022-4361.svg)](https://tridentstack.com/cve/CVE-2022-4361)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-4361"><img src="https://tridentstack.com/cve/badge/CVE-2022-4361.svg" alt="CVE-2022-4361"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-17.