Staging Environment: Content and features may be unstable or change without notice.
Search for vulnerabilities
Vulnerability details: VCID-gp47-t3vm-57an
Vulnerability ID VCID-gp47-t3vm-57an
Aliases CVE-2022-1438
GHSA-w354-2f3c-qvg9
GMS-2023-529
Summary Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') A flaw was found in Keycloak. Under specific circumstances, HTML entities are not sanitized during user impersonation, resulting in a Cross-site scripting (XSS) vulnerability.
Status Published
Exploitability 0.5
Weighted Severity 6.2
Risk 3.1
Affected and Fixed Packages Package Details
Weaknesses (3)
System Score Found at
cvssv3.1 6.4 https://access.redhat.com/errata/RHSA-2023:1043
generic_textual MODERATE https://access.redhat.com/errata/RHSA-2023:1043
ssvc Track https://access.redhat.com/errata/RHSA-2023:1043
cvssv3.1 6.4 https://access.redhat.com/errata/RHSA-2023:1044
generic_textual MODERATE https://access.redhat.com/errata/RHSA-2023:1044
ssvc Track https://access.redhat.com/errata/RHSA-2023:1044
cvssv3.1 6.4 https://access.redhat.com/errata/RHSA-2023:1045
generic_textual MODERATE https://access.redhat.com/errata/RHSA-2023:1045
ssvc Track https://access.redhat.com/errata/RHSA-2023:1045
cvssv3.1 6.4 https://access.redhat.com/errata/RHSA-2023:1047
generic_textual MODERATE https://access.redhat.com/errata/RHSA-2023:1047
ssvc Track https://access.redhat.com/errata/RHSA-2023:1047
cvssv3.1 6.4 https://access.redhat.com/errata/RHSA-2023:1049
generic_textual MODERATE https://access.redhat.com/errata/RHSA-2023:1049
ssvc Track https://access.redhat.com/errata/RHSA-2023:1049
cvssv3 6.4 https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-1438.json
cvssv3.1 6.4 https://access.redhat.com/security/cve/cve-2022-1438
generic_textual MODERATE https://access.redhat.com/security/cve/cve-2022-1438
cvssv3.1 6.4 https://access.redhat.com/security/cve/CVE-2022-1438
ssvc Track https://access.redhat.com/security/cve/CVE-2022-1438
epss 0.00166 https://api.first.org/data/v1/epss?cve=CVE-2022-1438
epss 0.00166 https://api.first.org/data/v1/epss?cve=CVE-2022-1438
epss 0.00166 https://api.first.org/data/v1/epss?cve=CVE-2022-1438
epss 0.00166 https://api.first.org/data/v1/epss?cve=CVE-2022-1438
epss 0.00166 https://api.first.org/data/v1/epss?cve=CVE-2022-1438
epss 0.00166 https://api.first.org/data/v1/epss?cve=CVE-2022-1438
epss 0.00166 https://api.first.org/data/v1/epss?cve=CVE-2022-1438
epss 0.00166 https://api.first.org/data/v1/epss?cve=CVE-2022-1438
epss 0.00166 https://api.first.org/data/v1/epss?cve=CVE-2022-1438
epss 0.00166 https://api.first.org/data/v1/epss?cve=CVE-2022-1438
epss 0.00166 https://api.first.org/data/v1/epss?cve=CVE-2022-1438
epss 0.00166 https://api.first.org/data/v1/epss?cve=CVE-2022-1438
epss 0.00166 https://api.first.org/data/v1/epss?cve=CVE-2022-1438
epss 0.00166 https://api.first.org/data/v1/epss?cve=CVE-2022-1438
epss 0.00166 https://api.first.org/data/v1/epss?cve=CVE-2022-1438
cvssv3.1 6.4 https://bugzilla.redhat.com/show_bug.cgi?id=2031904
generic_textual MODERATE https://bugzilla.redhat.com/show_bug.cgi?id=2031904
ssvc Track https://bugzilla.redhat.com/show_bug.cgi?id=2031904
cvssv3.1_qr MODERATE https://github.com/advisories/GHSA-w354-2f3c-qvg9
cvssv3.1 6.4 https://github.com/keycloak/keycloak
generic_textual MODERATE https://github.com/keycloak/keycloak
cvssv3.1 6.4 https://github.com/keycloak/keycloak/blob/48835576daa158443f69917ac309e1a7c951bc87/services/src/main/java/org/keycloak/authentication/AuthenticationProcessor.java#L1045
generic_textual MODERATE https://github.com/keycloak/keycloak/blob/48835576daa158443f69917ac309e1a7c951bc87/services/src/main/java/org/keycloak/authentication/AuthenticationProcessor.java#L1045
cvssv3.1 6.4 https://github.com/keycloak/keycloak/security/advisories/GHSA-w354-2f3c-qvg9
cvssv3.1_qr MODERATE https://github.com/keycloak/keycloak/security/advisories/GHSA-w354-2f3c-qvg9
generic_textual MODERATE https://github.com/keycloak/keycloak/security/advisories/GHSA-w354-2f3c-qvg9
cvssv3.1 6.4 https://nvd.nist.gov/vuln/detail/CVE-2022-1438
generic_textual MODERATE https://nvd.nist.gov/vuln/detail/CVE-2022-1438
Reference id Reference type URL
https://access.redhat.com/errata/RHSA-2023:1043
https://access.redhat.com/errata/RHSA-2023:1044
https://access.redhat.com/errata/RHSA-2023:1045
https://access.redhat.com/errata/RHSA-2023:1047
https://access.redhat.com/errata/RHSA-2023:1049
https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-1438.json
https://api.first.org/data/v1/epss?cve=CVE-2022-1438
https://bugzilla.redhat.com/show_bug.cgi?id=2031904
https://github.com/keycloak/keycloak
https://github.com/keycloak/keycloak/blob/48835576daa158443f69917ac309e1a7c951bc87/services/src/main/java/org/keycloak/authentication/AuthenticationProcessor.java#L1045
cpe:/a:redhat:red_hat_single_sign_on:7.6 https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:/a:redhat:red_hat_single_sign_on:7.6
cpe:/a:redhat:red_hat_single_sign_on:7.6::el7 https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:/a:redhat:red_hat_single_sign_on:7.6::el7
cpe:/a:redhat:red_hat_single_sign_on:7.6::el8 https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:/a:redhat:red_hat_single_sign_on:7.6::el8
cpe:/a:redhat:red_hat_single_sign_on:7.6::el9 https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:/a:redhat:red_hat_single_sign_on:7.6::el9
cpe:/a:redhat:rhosemc:1.0::el8 https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:/a:redhat:rhosemc:1.0::el8
CVE-2022-1438 https://access.redhat.com/security/cve/cve-2022-1438
CVE-2022-1438 https://access.redhat.com/security/cve/CVE-2022-1438
CVE-2022-1438 https://nvd.nist.gov/vuln/detail/CVE-2022-1438
GHSA-w354-2f3c-qvg9 https://github.com/advisories/GHSA-w354-2f3c-qvg9
GHSA-w354-2f3c-qvg9 https://github.com/keycloak/keycloak/security/advisories/GHSA-w354-2f3c-qvg9
No exploits are available.
Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H Found at https://access.redhat.com/errata/RHSA-2023:1043
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: SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-09-24T15:05:51Z/ Found at https://access.redhat.com/errata/RHSA-2023:1043
Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H Found at https://access.redhat.com/errata/RHSA-2023:1044
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: SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-09-24T15:05:51Z/ Found at https://access.redhat.com/errata/RHSA-2023:1044
Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H Found at https://access.redhat.com/errata/RHSA-2023:1045
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: SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-09-24T15:05:51Z/ Found at https://access.redhat.com/errata/RHSA-2023:1045
Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H Found at https://access.redhat.com/errata/RHSA-2023:1047
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: SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-09-24T15:05:51Z/ Found at https://access.redhat.com/errata/RHSA-2023:1047
Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H Found at https://access.redhat.com/errata/RHSA-2023:1049
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: SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-09-24T15:05:51Z/ Found at https://access.redhat.com/errata/RHSA-2023:1049
Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H Found at https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-1438.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:H/PR:H/UI:R/S:U/C:H/I:H/A:H Found at https://access.redhat.com/security/cve/cve-2022-1438
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:H/PR:H/UI:R/S:U/C:H/I:H/A:H Found at https://access.redhat.com/security/cve/CVE-2022-1438
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: SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-09-24T15:05:51Z/ Found at https://access.redhat.com/security/cve/CVE-2022-1438
Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H Found at https://bugzilla.redhat.com/show_bug.cgi?id=2031904
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: SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-09-24T15:05:51Z/ Found at https://bugzilla.redhat.com/show_bug.cgi?id=2031904
Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H Found at https://github.com/keycloak/keycloak
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:H/PR:H/UI:R/S:U/C:H/I:H/A:H Found at https://github.com/keycloak/keycloak/blob/48835576daa158443f69917ac309e1a7c951bc87/services/src/main/java/org/keycloak/authentication/AuthenticationProcessor.java#L1045
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:H/PR:H/UI:R/S:U/C:H/I:H/A:H Found at https://github.com/keycloak/keycloak/security/advisories/GHSA-w354-2f3c-qvg9
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:H/PR:H/UI:R/S:U/C:H/I:H/A:H Found at https://nvd.nist.gov/vuln/detail/CVE-2022-1438
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.37645
EPSS Score 0.00166
Published At April 1, 2026, 12:55 p.m.
Date Actor Action Source VulnerableCode Version
2026-04-01T12:51:50.382496+00:00 GitLab Importer Import https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/org.keycloak/keycloak-model-jpa/CVE-2022-1438.yml 38.0.0