CVE-2022-2256
lowpriority · track · 15EPSS 0.007 · 52 %ileDEEUUSEPSS · scored 2026-10-23
A Stored Cross-site scripting (XSS) vulnerability was found in keycloak as shipped in Red Hat Single Sign-On 7. This flaw allows a privileged attacker to execute malicious scripts in the admin console, abusing the default roles functionality.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 3.5–5.4
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (7)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2024-0794Dell ECS: Mehrere SchwachstellenDeutsch2024-04-04csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in Dell ECS ausnutzen, um seine Privilegien zu erweitern, beliebigen Programmcode mit Administratorrechten auszuführen, Informationen offenzulegen, Dateien zu manipulieren, einen Cross-Site-Scripting-Angriff durchzuführen, Sicherheitsvorkehrungen zu umgehen oder einen Denial of Service Zustand herbeizuführen.
- GHSA-w9mf-83w3-fv49Keycloak vulnerable to Stored Cross site Scripting (XSS) when loading default roles2022-09-23ghsa · osvUS
A Stored XSS vulnerability was reported in the Keycloak Security mailing list, affecting all the versions of Keycloak, including the latest release (18.0.1). The vulnerability allows a privileged attacker to execute malicious scripts in the admin console, abusing of the default roles functionality. ### CVSS 3.1 - **3.8** **Vector String:** AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N **Vector Clarification:** * User interaction is not required as the admin console is regularly used during an administrator's work * The scope is unchanged since the admin console web application is both the vulnerable component and where the exploit executes ### Credits Aytaç Kalıncı, Ilker Bulgurcu, Yasin Yılmaz (@aytackalinci, @smileronin, @yasinyilmaz) - NETAŞ PENTEST TEAM
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (10)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2022-2256cnnvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2101942cnnvd
- https://cxsecurity.com/cveshow/CVE-2022-2256/cnnvd
- https://github.com/keycloak/keycloak/security/advisories/GHSA-w9mf-83w3-fv49cnnvd
- https://packetstormsecurity.com/files/168631/Red-Hat-Security-Advisory-2022-6782-01.htmlcnnvd
- https://vigilance.fr/vulnerability/Keycloak-Cross-Site-Scripting-via-Default-Roles-Functionality-39468cnnvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2101942enisa_euvd
- https://github.com/keycloak/keycloak/security/advisories/GHSA-w9mf-83w3-fv49enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan