Security mailing lists by PureSourceCode

CVE-2022-4361

MEDIUM 6.1CVSS 3.1

Keycloak vulnerable to cross-site scripting when validating URI-schemes on SAML and OIDC

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.

Published
7 Jul 2023
Last modified
17 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-79CWE-81
Also known as
GHSA-3p62-6fjh-3p5h
Sources
NVDJSONOSV GHSA-3p62-6fjh-3p5hJSON

Scores

SourceScored byVersionScoreVector / decision
NVD secalert@redhat.com (Secondary) CVSS 3.1 CRITICAL 10.0 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 10.0 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD redhat keycloak
cpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:*
< 21.1.2 21.1.2
NVD redhat single_sign-on
cpe:2.3:a:redhat:single_sign-on:*:*:*:*:*:*:*:*
>= 7.6, < 7.6.4 7.6.4
NVD redhat single_sign-on
cpe:2.3:a:redhat:single_sign-on:-:*:*:*:text-only:*:*:*
(no version)
NVD redhat openshift_container_platform
cpe:2.3:a:redhat:openshift_container_platform:4.11:*:*:*:*:*:*:*
= 4.11
NVD redhat openshift_container_platform
cpe:2.3:a:redhat:openshift_container_platform:4.12:*:*:*:*:*:*:*
= 4.12
NVD redhat openshift_container_platform_for_ibm_linuxone
cpe:2.3:a:redhat:openshift_container_platform_for_ibm_linuxone:4.9:*:*:*:*:*:*:*
= 4.9
NVD redhat openshift_container_platform_for_ibm_linuxone
cpe:2.3:a:redhat:openshift_container_platform_for_ibm_linuxone:4.10:*:*:*:*:*:*:*
= 4.10
NVD redhat openshift_container_platform_for_power
cpe:2.3:a:redhat:openshift_container_platform_for_power:4.9:*:*:*:*:*:*:*
= 4.9
NVD redhat openshift_container_platform_for_power
cpe:2.3:a:redhat:openshift_container_platform_for_power:4.10:*:*:*:*:*:*:*
= 4.10
OSV Maven org.keycloak:keycloak-services < 21.1.2 21.1.2

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 7 Jul 2023)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 30 Jun 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.