Security mailing lists by PureSourceCode

CVE-2021-20195

CRITICAL 9.6CVSS 3.1

keycloak Self Stored Cross-site Scripting vulnerability

A flaw was found in keycloak in versions before 13.0.0. A Self Stored XSS attack vector escalating to a complete account takeover is possible due to user-supplied data fields not being properly encoded and Javascript code being used to process the data. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

Published
28 May 2021
Last modified
17 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-116CWE-20CWE-79
Also known as
GHSA-q6w2-89hq-hq27
Sources
NVDJSONOSV GHSA-q6w2-89hq-hq27JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD redhat keycloak
cpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:*
< 12.0.3 12.0.3
OSV Maven org.keycloak:keycloak-core < 13.0.0 13.0.0

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 28 May 2021)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 8 Jun 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.