Keycloak SAML javascript protocol mapper: Uploading of scripts through admin console
An issue was discovered in Keycloak allows arbitrary Javascript to be uploaded for the SAML protocol mapper even if the UPLOAD_SCRIPTS feature is disabled
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.keycloak:keycloak-parent | < 19.0.2 | 19.0.2 |
References
- https://github.com/keycloak/keycloak/security/advisories/GHSA-wf7g-7h6h-678v
- https://nvd.nist.gov/vuln/detail/CVE-2022-2668
- https://github.com/keycloak/keycloak/commit/e2ae7eef39b27e48ffa4764995d558555f02838c
- https://access.redhat.com/security/cve/CVE-2022-2668
- https://bugzilla.redhat.com/show_bug.cgi?id=2115392
- https://github.com/keycloak/keycloak
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
-- Platform
- Java / Kotlin (Maven)
- Package
org.keycloak:keycloak-parent- Disclosed
- 23.09.2022
- Updated
- 11.10.2026 12:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-wf7g-7h6h-678v - CC BY 4.0
Vulnerability history: org.keycloak:keycloak-parent
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 26
- First → latest
- 05.2021 02.2026
- Without a fix
- 6
- Exploited in attacks
- 0
Severity breakdown
- Critical 2
- High 12
- Medium 10
- Low 2
Disclosures per year
- 2021: 1
- 2022: 22
- 2023: 1
- 2024: 0
- 2025: 0
- 2026: 2
-
Keycloak SAML javascript protocol mapper: Uploading of scripts through admin console this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.