HIGH8.1
GHSA-9hhc-pj4w-w5rv
Keycloak Cross-site Scripting on OpenID connect login service
Quick fix
GHSA-9hhc-pj4w-w5rv — org.keycloak:keycloak-parent: upgrade to the fixed version with the command below.
# pom.xml: bump <version>20.0.5</version> for org.keycloak:keycloak-parentDetails
A reflected cross-site scripting (XSS) vulnerability was found in the `oob` OAuth endpoint due to incorrect null-byte handling. This issue allows a malicious link to insert an arbitrary URI into a Keycloak error page.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.keycloak:keycloak-parent
Introduced in:
0Fixed in: 20.0.5Fix
# pom.xml: bump <version>20.0.5</version> for org.keycloak:keycloak-parentReferences
- https://github.com/keycloak/keycloak/security/advisories/GHSA-9hhc-pj4w-w5rv[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2022-4137[ADVISORY]
- https://github.com/keycloak/keycloak/pull/16774[WEB]
- https://github.com/keycloak/keycloak/commit/30d0e9d22dae51392e5a3748a1c68c116667359a[WEB]
- https://access.redhat.com/errata/RHSA-2023:1043[WEB]
- https://access.redhat.com/errata/RHSA-2023:1044[WEB]
- https://access.redhat.com/errata/RHSA-2023:1045[WEB]
- https://access.redhat.com/errata/RHSA-2023:1049[WEB]
- https://access.redhat.com/security/cve/CVE-2022-4137[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=2148496[WEB]
- https://github.com/keycloak/keycloak[PACKAGE]