Reflected XSS on clients-registrations endpoint
A POST based reflected Cross Site Scripting vulnerability on has been identified in Keycloak. When a malicious request is sent to the client registration endpoint, the error message is not properly escaped, allowing an attacker to execute malicious scripts into the user's browser.
Acknowledgement
Keycloak would like to thank Quentin TEXIER (Pentester at Opencyber) for reporting this issue.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.keycloak:keycloak-parent | >= 10.0.0, < 18.0.0 | 18.0.0 |
References
- Weakness (CWE)
CWE-79- Platform
- Java / Kotlin (Maven)
- Package
org.keycloak:keycloak-parent- Disclosed
- 28.04.2022
- Updated
- 11.10.2026 12:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-m98g-63qj-fp8j - CC BY 4.0
Vulnerability history: org.keycloak:keycloak-parent
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 26
- First → latest
- 05.2021 02.2026
- Without a fix
- 6
- Exploited in attacks
- 0
Severity breakdown
- Critical 2
- High 12
- Medium 10
- Low 2
Disclosures per year
- 2021: 1
- 2022: 22
- 2023: 1
- 2024: 0
- 2025: 0
- 2026: 2
-
Reflected XSS on clients-registrations endpoint this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.