Security for everyone

CVE-2021-20323 Scanner

Detects 'Cross-Site Scripting (XSS)' vulnerability in Keycloak affects v. 17.0.0.


Short Info




Single Scan

Can be used by

Asset Owner

Estimated Time

10 sec

Scan only one


Parent Category

CVE-2021-20323 Scanner Detail

Keycloak is an open-source project that provides single sign-on (SSO) and identity management for different applications and services. It is widely used in enterprise environments to manage user authentication and authorization. Keycloak integrates with different identity providers such as LDAP, Active Directory, and OAuth to provide a seamless authentication experience for users. Additionally, it provides access control for different applications and services with fine-grained permissions.

Recently, a security researcher discovered a reflected Cross-Site Scripting (XSS) vulnerability in Keycloak, which has been assigned CVE-2021-20323. The vulnerability is due to improper input validation of the HTTP POST requests. An attacker can exploit this vulnerability by crafting a malicious request that contains JavaScript code, which will be executed in the victim's browser once the response is received. This can lead to different types of attacks, such as stealing user cookies, login credentials, or performing actions on behalf of the victim.

When this vulnerability is exploited, it can lead to various consequences, such as unauthorized access to sensitive information, data leakage, and loss of confidentiality. Attackers can use this vulnerability to hijack the session of a legitimate user and perform actions on their behalf without their knowledge. Moreover, attackers can use the vulnerability to bypass the security measures implemented by Keycloak and gain access to sensitive resources.

In conclusion, Keycloak is a valuable tool that provides identity management and SSO for different applications and services. However, security vulnerabilities like CVE-2021-20323 can put user data at risk and compromise the security of the entire system. It is crucial to keep Keycloak up to date and implement proper security measures to mitigate the risk of exploitation. With the help of's pro features, anyone can easily identify vulnerabilities in their digital assets and take action to protect them.



cyber security services for everyone one. Free security tools, continuous vulnerability scanning and many more.
Try it yourself,
control security posture