Live threats

All CVEs / Redhat

CVE-2022-4361Redhat Keycloak

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
0.8%
probability of exploitation in 30 days · percentile 55
Auth required
No
Published
Jul 7, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-81, CWE-79
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Keycloak.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.keycloak:keycloak-services < 21.1.2 21.1.2 —

Per OSV / GitHub Advisories (GHSA-3p62-6fjh-3p5h). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
redhatkeycloak< 21.1.2
redhatsingle_sign-on≥ 7.6 < 7.6.4
redhatsingle_sign-onall
redhatopenshift_container_platform4.11
redhatopenshift_container_platform4.12
redhatopenshift_container_platform_for_ibm_linuxone4.9
redhatopenshift_container_platform_for_ibm_linuxone4.10
redhatopenshift_container_platform_for_power4.9
redhatopenshift_container_platform_for_power4.10

Official sources

References

Links published by the sources. Open them with care.