CVE-2022-2668Redhat Keycloak
High 7.2
Follow: this CVE · Redhat · Redhat Keycloak We alert you by email or Slack (account required).
- Priority
- 43
- CVSS 3.1
- 7.2
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 61
- Auth required
- Yes
- Published
- Aug 5, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
What happens
An issue was discovered in Keycloak that allows arbitrary Javascript to be uploaded for the SAML protocol mapper even if the UPLOAD_SCRIPTS feature is disabled
What to do
- Apply the vendor's security update for Keycloak.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.keycloak:keycloak-parent |
< 19.0.2 |
19.0.2 |
— |
Per OSV / GitHub Advisories (GHSA-wf7g-7h6h-678v). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| redhat | keycloak | 18.0.0 |
| redhat | single_sign-on | 7.0 |
Official sources
References
Links published by the sources. Open them with care.
- access.redhat.com Issue Tracking Vendor Advisory