Vulnerability · 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 feature is disabled
Published Aug 5, 2022 · catalog updated Jun 17, 2026 · An issue was discovered
Last checked Nov 4, 2026. A connected source was read within the last 7 days.
Check if you run it
No confirmed exploitation is on record for CVE-2022-2668. EPSS is 1.00%. Act only if a listed version of An issue was discovered is installed.
Gaps on this record
- The stored product name is a package slug. The name on this page is taken from the title (An issue was discovered).
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
Same product and reporting
- CVE-2025-8419 · Medium
- CVE-2025-5416 · Low
- CVE-2024-7341 · High
- CVE-2024-4629 · Medium
- CVE-2023-6787 · High
- Severity
- High7.2
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- 1.00%
- Remediation
- Advisory link
- Affected products
- cpe redhat/keycloak · cpe redhat/single sign-on
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
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- cpe redhat/keycloak18.0.0
- cpe redhat/single sign-on7.0
How to fix CVE-2022-2668
No stored fix
No vendor fix text is stored. Use the linked advisory before you change production.
Version check
Seen in 18.0.0 · 1 other packages on the advisory
Advisory
Open the cve_org record and follow its fix.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
No confirmed exploitation is on record for CVE-2022-2668. EPSS is 1.00%. Act only if a listed version of An issue was discovered is installed.
Which versions are affected?
Compare what you have installed with redhat/single sign-on 7.0. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
No weakness class is stored. EPSS 1.00%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Technology hubs
Code
The project this record applies to. Exploit listings stay in References.
No public source repository is identified for this product.
Timeline
Detection, updates, and resolution for this record.
Aug 5, 2022 · Monitored products — high
Detected
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
Jun 17, 2026 · Monitored products — high
Updated
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
Sources
- CVE.orgVulnerability recordCVE-2022-2668
Official CVE identifier
cve.org - Monitored products — highVendor advisoryCVE-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 feature is disabled
nvd.nist.gov
References
Freshness
Last verified in this catalog Nov 3, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.
- CVE.orgNov 4, 2026
- Monitored products — highNov 3, 2026