Vulnerability DatabaseGHSA-m98g-63qj-fp8j

GHSA-m98g-63qj-fp8j
Java vulnerability analysis and mitigation

Overview

A reflected Cross-Site Scripting (XSS) vulnerability was identified in Keycloak, tracked as GHSA-m98g-63qj-fp8j and CVE-2021-20323. The vulnerability affects Keycloak versions from 10.0.0 to versions prior to 18.0.0. This security issue was discovered by Quentin TEXIER, a Pentester at Opencyber, and was publicly disclosed on April 25, 2022 (GitHub Advisory).

Technical details

The vulnerability is a POST-based reflected Cross-Site Scripting (XSS) issue that exists in the client registration endpoint of Keycloak. The core of the problem lies in improper error message escaping when processing malicious requests sent to the client registration endpoint. The vulnerability has been assigned a Moderate severity rating and is associated with CWE-79 (Cross-site Scripting) (GitHub Advisory).

Impact

When exploited, this vulnerability allows attackers to execute malicious scripts in users' browsers through the client registration endpoint. The improper error message handling could lead to the execution of unauthorized JavaScript code in the context of the user's browser session (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in Keycloak version 18.0.0. Users are advised to upgrade to this version or later to mitigate the risk. No alternative workarounds have been publicly documented (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-26866HIGH8.8
  • JavaJava
  • org.apache.hugegraph:hg-pd-core
NoYesDec 12, 2025
CVE-2025-66474HIGH8.7
  • JavaJava
  • org.xwiki.rendering:xwiki-rendering-xml
NoYesDec 10, 2025
CVE-2025-66473HIGH8.7
  • JavaJava
  • org.xwiki.platform:xwiki-platform-rest-server
NoYesDec 10, 2025
CVE-2025-67505HIGH8.4
  • JavaJava
  • com.okta.sdk:okta-sdk-root
NoYesDec 10, 2025
CVE-2025-14518MEDIUM5.3
  • JavaJava
  • tech.powerjob:powerjob-common
NoNoDec 11, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management