{"id":"CVE-2022-2668","details":"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","aliases":["GHSA-wf7g-7h6h-678v"],"modified":"2026-04-10T04:46:17.863790Z","published":"2022-08-05T17:15:08.663Z","references":[{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2022-2668"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/keycloak/keycloak","events":[{"introduced":"0"},{"last_affected":"ef47eee2dda29a0f08187ae67970323c28947f11"},{"introduced":"0"},{"last_affected":"e6a274ea0e31c6572e795f3372f006c88122539b"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"18.0.0"},{"introduced":"0"},{"last_affected":"7.0"}]}}],"versions":["1.0-alpha-1","1.0-alpha-1-12062013","1.0-alpha-2","1.0-alpha-3","1.0-beta-1","1.0-beta-2","1.0-beta-4","1.0-final","1.0-rc-1","1.0.0.Final","1.1.0.Beta2","1.3.0.Final","18.0.0","2.4.0.Test","7.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-2668.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"}]}