{"cve":"CVE-2022-2668","nvd":{"published":"2022-08-05T17:15:08.663","modified":"2026-06-17T04:42:19.033","status":"Modified","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","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":7.2},"cwes":[],"references":["https://access.redhat.com/security/cve/CVE-2022-2668","https://access.redhat.com/security/cve/CVE-2022-2668"],"products":["redhat:keycloak","redhat:single_sign-on"],"source":"nvd","synced_at":"2026-10-19T21:34:18.502168378+00:00"},"epss":{"cve":"CVE-2022-2668","score":0.01,"percentile":0.62835,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-wf7g-7h6h-678v","url":"https://osv.dev/vulnerability/GHSA-wf7g-7h6h-678v","summary":"Keycloak SAML javascript protocol mapper: Uploading of scripts through admin console","modified":"2024-12-03T06:08:58.584212Z","packages":[{"ecosystem":"Maven","name":"org.keycloak:keycloak-parent","purl":"pkg:maven/org.keycloak/keycloak-parent","ranges":["<19.0.2"],"fixed":["19.0.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}