Every CVE Search/ Get API key

CVE-2021-20323

Cross-site Scripting in Keycloak

6.1 MediumPublic exploitFix available

A POST based reflected Cross Site Scripting vulnerability on has been identified in Keycloak.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
None

Exploit likelihood

37.2%Up 36.4 points since Mar 26, 2022
90%50%10%1%

What each source reports

NVD Score used 6.1

A POST based reflected Cross Site Scripting vulnerability on has been identified in Keycloak.

Record
CVE-2021-20323
CVSS 3.1
6.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:P/A:N
Weakness
CWE-79
Updated
2026-11-02
CVE List No score

A POST based reflected Cross Site Scripting vulnerability on has been identified in Keycloak.

Record
CVE-2021-20323
Weakness
CWE-79
Updated
2026-11-02
EUVDEUVD-2022-1588 No score

A POST based reflected Cross Site Scripting vulnerability on has been identified in Keycloak.

Record
EUVD-2022-1588
Updated
2026-11-03
GitHub AdvisoriesGHSA-xpgc-j48j-jwv9 6.1

Cross-site Scripting in Keycloak

A POST based reflected Cross Site Scripting vulnerability on has been identified in Keycloak version 15. The issue was fixed in version 17.0.0.

Record
GHSA-xpgc-j48j-jwv9
CVSS 3.1
6.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Updated
2026-11-02
OSV 6.1

A POST based reflected Cross Site Scripting vulnerability on has been identified in Keycloak.

Record
CVE-2021-20323
CVSS 3.1
6.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-02
OSVGHSA-xpgc-j48j-jwv9 6.1

Cross-site Scripting in Keycloak

A POST based reflected Cross Site Scripting vulnerability on has been identified in Keycloak version 15. The issue was fixed in version 17.0.0.

Record
GHSA-xpgc-j48j-jwv9
CVSS 3.1
6.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.keycloak:keycloak-core
Maven
15.0.0 up to 17.0.0
17.0.0
org.keycloak:keycloak-core
Maven
15.0.0 up to 17.0.0, plus listed versions
15.0.115.0.215.1.015.1.116.0.016.1.016.1.1
17.0.0

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
PoC in GitHubndmalc/CVE-2021-203232022-12-07
PoC in GitHubCappricio-Securities/CVE-2021-203232024-01-11
PoC in GitHubcscpwn0sec/CVE-2021-203232024-07-07
NucleiKeycloak 10.0.0 - 18.0.0 - Cross-Site Scripting

History

History
RecordedChangedSources
exploits, facts
aliases, productsEUVD
first indexedCVE List, GitHub Advisories, Nuclei, NVD, OSV, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-20323 is a medium vulnerability (CVSS 6.1) in Redhat Keycloak, published March 25, 2022. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 37.2%, the 98th percentile. Fixed in org.keycloak:keycloak-core 17.0.0.

References

MoveEnter Open