Search for vulnerabilities
Vulnerability details: VCID-fkbv-nmgv-q7eh
Vulnerability ID VCID-fkbv-nmgv-q7eh
Aliases CVE-2021-20195
GHSA-q6w2-89hq-hq27
Summary 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.
Status Published
Exploitability 0.5
Weighted Severity 9.0
Risk 4.5
Affected and Fixed Packages Package Details
Weaknesses (5)
System Score Found at
cvssv3 8.3 https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-20195.json
epss 0.00305 https://api.first.org/data/v1/epss?cve=CVE-2021-20195
epss 0.00305 https://api.first.org/data/v1/epss?cve=CVE-2021-20195
epss 0.00305 https://api.first.org/data/v1/epss?cve=CVE-2021-20195
epss 0.00305 https://api.first.org/data/v1/epss?cve=CVE-2021-20195
epss 0.00305 https://api.first.org/data/v1/epss?cve=CVE-2021-20195
epss 0.00305 https://api.first.org/data/v1/epss?cve=CVE-2021-20195
epss 0.00305 https://api.first.org/data/v1/epss?cve=CVE-2021-20195
epss 0.00305 https://api.first.org/data/v1/epss?cve=CVE-2021-20195
epss 0.00305 https://api.first.org/data/v1/epss?cve=CVE-2021-20195
epss 0.00305 https://api.first.org/data/v1/epss?cve=CVE-2021-20195
epss 0.00305 https://api.first.org/data/v1/epss?cve=CVE-2021-20195
epss 0.00305 https://api.first.org/data/v1/epss?cve=CVE-2021-20195
epss 0.00305 https://api.first.org/data/v1/epss?cve=CVE-2021-20195
epss 0.00305 https://api.first.org/data/v1/epss?cve=CVE-2021-20195
epss 0.00313 https://api.first.org/data/v1/epss?cve=CVE-2021-20195
epss 0.00313 https://api.first.org/data/v1/epss?cve=CVE-2021-20195
epss 0.00313 https://api.first.org/data/v1/epss?cve=CVE-2021-20195
cvssv3.1 9.6 https://bugzilla.redhat.com/show_bug.cgi?id=1919143
generic_textual CRITICAL https://bugzilla.redhat.com/show_bug.cgi?id=1919143
cvssv3.1_qr CRITICAL https://github.com/advisories/GHSA-q6w2-89hq-hq27
cvssv3.1 9.6 https://github.com/keycloak/keycloak/commit/717d9515fa131e3d8c8936e41b2e52270fdec976
generic_textual CRITICAL https://github.com/keycloak/keycloak/commit/717d9515fa131e3d8c8936e41b2e52270fdec976
cvssv2 6.8 https://nvd.nist.gov/vuln/detail/CVE-2021-20195
cvssv3.1 9.6 https://nvd.nist.gov/vuln/detail/CVE-2021-20195
generic_textual CRITICAL https://nvd.nist.gov/vuln/detail/CVE-2021-20195
archlinux High https://security.archlinux.org/AVG-1578
No exploits are available.
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H Found at https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-20195.json
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H Found at https://bugzilla.redhat.com/show_bug.cgi?id=1919143
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H Found at https://github.com/keycloak/keycloak/commit/717d9515fa131e3d8c8936e41b2e52270fdec976
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P Found at https://nvd.nist.gov/vuln/detail/CVE-2021-20195
Exploitability (E) Access Vector (AV) Access Complexity (AC) Authentication (Au) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

high

functional

unproven

proof_of_concept

not_defined

local

adjacent_network

network

high

medium

low

multiple

single

none

none

partial

complete

none

partial

complete

none

partial

complete

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H Found at https://nvd.nist.gov/vuln/detail/CVE-2021-20195
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Exploit Prediction Scoring System (EPSS)
Percentile 0.53263
EPSS Score 0.00305
Published At Aug. 5, 2025, 12:55 p.m.
Date Actor Action Source VulnerableCode Version
2025-07-31T08:53:00.530291+00:00 GithubOSV Importer Import https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-q6w2-89hq-hq27/GHSA-q6w2-89hq-hq27.json 37.0.0