PT-2022-6913
CVE-2021-20323
·
Published
2022-03-25
·
Updated
2025-07-12
Description by
CVSS 2.0
6.4
MediumMetricsAV:N/AC:L/Au:N/C:P/I:P/A:N
Name of the Vulnerable Software and Affected Versions
Keycloak versions prior to 17.0.0
Description
A POST based reflected Cross Site Scripting vulnerability has been identified in Keycloak. The issue exists due to inadequate protection of the web page structure, allowing a remote attacker to execute arbitrary code. The vulnerability can be exploited via a reflected XSS attack.
Recommendations
For Keycloak versions prior to 17.0.0, update to version 17.0.0 or later to resolve the issue. As a temporary workaround, consider restricting access to vulnerable API endpoints until a patch is available. Avoid using the
Content-Type header with the value application/json in the affected API endpoint until the issue is resolved.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾