Keycloak allows arbitrary URLs as SAML Assertion Consumer Service POST Binding URL (ACS), including JavaScript URIs (javascript:).
Allowing JavaScript URIs in combination with HTML forms leads to JavaScript evaluation in the context of the embedding origin on form submission.
Special thanks to Lauritz Holtmann for reporting this issue and helping us improve our project.
{ "nvd_published_at": "2024-04-25T16:15:10Z", "cwe_ids": [ "CWE-20", "CWE-601", "CWE-79" ], "severity": "MODERATE", "github_reviewed": true, "github_reviewed_at": "2024-04-17T17:33:04Z" }