# CVE-2022-2668: Keycloak SAML javascript protocol mapper: Uploading of scripts through admin console

Source: https://junglewise.ai/threats/cve-2022-2668-keycloak-saml-javascript-protocol-mapper-uploading-of-scripts  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-09-23  
License: CC BY 4.0 with a link back

CVE-2022-2668 · Severity: low · CVSS 3.1 · Published 2022-09-23

Keycloak SAML javascript protocol mapper: Uploading of scripts through admin console

Technologies: [org.keycloak:keycloak-parent (Maven)](https://junglewise.ai/threats/technologies/org-keycloak-keycloak-parent). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2022-2668 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-2668 being exploited in the wild.

**How severe is CVE-2022-2668?** Low severity, with a CVSS score of 3.1, published 23 September 2022.

**Which products and versions are affected?** org.keycloak:keycloak-parent (Maven) ECOSYSTEM:introduced=0,fixed=19.0.2.

**Is there a fix for CVE-2022-2668?** Yes. org.keycloak:keycloak-parent (Maven): upgrade to 19.0.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-2668?** Check whether you run org.keycloak:keycloak-parent (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.keycloak:keycloak-parent (Maven): upgrade to 19.0.2 or later

  ```sh
  # set org.keycloak:keycloak-parent to 19.0.2 in your pom.xml or build.gradle
  ```


## Affected products

- org.keycloak:keycloak-parent (Maven) ECOSYSTEM:introduced=0,fixed=19.0.2

## Identifiers

- CVE-2022-2668
- GHSA-wf7g-7h6h-678v

## Related threats

- [Keycloak SSRF in client registration and backchannel notification URIs](https://junglewise.ai/threats/cve-2026-1518-keycloak-ssrf-in-client-registration-and-backchannel-notification)
- [Keycloak permissive Authorization header parsing bypass](https://junglewise.ai/threats/cve-2026-0707-keycloak-permissive-authorization-header-parsing-bypass)
- [Duplicate Advisory: Keycloak Open Redirect vulnerability](https://junglewise.ai/threats/duplicate-advisory-keycloak-open-redirect-vulnerability-32d9749a)
- [Keycloak Cross-site Scripting on OpenID connect login service](https://junglewise.ai/threats/cve-2022-4137-keycloak-cross-site-scripting-on-openid-connect-login-service)
- [Keycloak vulnerable to path traversal via double URL encoding](https://junglewise.ai/threats/cve-2022-3782-keycloak-vulnerable-to-path-traversal-via-double-url-encoding)
