An issue was discovered in Keycloak that allows arbitrary Javascript to be uploaded for…
Priority LOW 34Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat.
Summary
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
Why it matters now
EPSS 0.01 63rd percentileScored 2026-11-07
Fix Fixed org.keycloak:keycloak-parent (Maven): 19.0.2Red Hat: 7 advisories
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | keycloak | Keycloak 18 | — | No fix listed | CNA |
| — | org.keycloak:keycloak-parent (Maven) | before 19.0.2 | 19.0.2 | Patch available | GHSA-wf7g-7h6h-678v |
- keycloak Vendor— Affected Keycloak 18 Fixed in — No fix listed CNA
- org.keycloak:keycloak-parent (Maven) Vendor— Affected before 19.0.2 Fixed in 19.0.2 Patch available GHSA-wf7g-7h6h-678v
Remediation
- Fix · GHSA-wf7g-7h6h-678v org.keycloak:keycloak-parent (Maven) Fixed in 19.0.2 Advisory →
Red Hat 7 advisories
- RHSA-2022:7417 Released 2022-11-03 · Red Hat rating ModerateRed Hat Single Sign-On 7.6.1 security update
- Red Hat Single Sign-On 7.6.1
- RHSA-2022:7411 Released 2022-11-03 · Red Hat rating ModerateRed Hat Single Sign-On 7.6.1 security update on RHEL 9
- Red Hat Single Sign-On 7.6 for RHEL 9 rh-sso7-1-5.el9sso, rh-sso7-javapackages-filesystem-6.0.0-7.el9sso, rh-sso7-javapackages-tools-6.0.0-7.el9sso +4
- RHSA-2022:7410 Released 2022-11-03 · Red Hat rating ModerateRed Hat Single Sign-On 7.6.1 security update on RHEL 8
- Red Hat Single Sign-On 7.6 for RHEL 8 rh-sso7-keycloak-18.0.3-1.redhat_00001.1.el8sso, rh-sso7-keycloak-server-18.0.3-1.redhat_00001.1.el8sso
Show 4 more Red Hat advisories
- RHSA-2022:7409 Released 2022-11-03 · Red Hat rating ModerateRed Hat Single Sign-On 7.6.1 security update on RHEL 7
- Red Hat Single Sign-On 7.6 for RHEL 7 Server rh-sso7-keycloak-18.0.3-1.redhat_00001.1.el7sso, rh-sso7-keycloak-server-18.0.3-1.redhat_00001.1.el7sso
- RHSA-2022:6782 Released 2022-10-04 · Red Hat rating ModerateRed Hat Single Sign-On 7.5.3 security update on RHEL 7
- Red Hat Single Sign-On 7.5 for RHEL 7 Server rh-sso7-keycloak-15.0.8-1.redhat_00001.1.el7sso, rh-sso7-keycloak-server-15.0.8-1.redhat_00001.1.el7sso
- RHSA-2022:6787 Released 2022-10-04 · Red Hat rating ModerateRed Hat Single Sign-On 7.5.3 security update
- Red Hat Single Sign-On 7
- RHSA-2022:6783 Released 2022-10-04 · Red Hat rating ModerateRed Hat Single Sign-On 7.5.3 security update on RHEL 8
- Red Hat Single Sign-On 7.5 for RHEL 8 rh-sso7-keycloak-15.0.8-1.redhat_00001.1.el8sso, rh-sso7-keycloak-server-15.0.8-1.redhat_00001.1.el8sso
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Single Sign-On 7 | Fixed | RHSA-2022:6787 |
| Red Hat Single Sign-On 7.5 for RHEL 7 Server | Fixed | RHSA-2022:6782 |
| Red Hat Single Sign-On 7.5 for RHEL 8 | Fixed | RHSA-2022:6783 |
| Red Hat Single Sign-On 7.6 for RHEL 7 Server | Fixed | RHSA-2022:7409 |
| Red Hat Single Sign-On 7.6 for RHEL 8 | Fixed | RHSA-2022:7410 |
| Red Hat Single Sign-On 7.6 for RHEL 9 | Fixed | RHSA-2022:7411 |
| Red Hat Single Sign-On 7.6.1 | Fixed | RHSA-2022:7417 |
Timeline
- 2026-10-02 Threatist record created from CVE-2022-2668
- 2026-10-03 Alias added: GHSA-wf7g-7h6h-678v
References
Advisory 2
More Red Hat Keycloak vulnerabilities
- TI-2024-01049 Keycloak: path transversal in redirection validation CVSS 3.1HIGH 8.1
- TI-2023-26623 The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6… CVSS 3.1MEDIUM 5.9
- TI-2020-08665 Server-side request forgery in keycloak CVSS 3.1MEDIUM 5.3
- TI-2022-03468 Path traversal in Red Hat Keycloak CVSS 3.1CRITICAL 9.1
- TI-2021-03612 A POST based reflected Cross Site Scripting vulnerability on has been identified in Keycloak. CVSS 3.1MEDIUM 6.1
- TI-2022-03994 Cross-site scripting in keycloak CVSS 3.1CRITICAL 10.0
Sources
- CVE-2022-2668 · CVE Program
- CVE-2022-2668 · NVD
- FIRST EPSS
- GHSA-wf7g-7h6h-678v · GitHub Advisory Database · CC BY 4.0
- CVE-2022-2668 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences