{"cve":"CVE-2018-14655","nvd":{"published":"2018-11-13T19:29:00.307","modified":"2026-06-17T01:41:23.190","status":"Modified","description":"A flaw was found in Keycloak 3.4.3.Final, 4.0.0.Beta2, 4.3.0.Final. When using 'response_mode=form_post' it is possible to inject arbitrary Javascript-Code via the 'state'-parameter in the authentication URL. This allows an XSS-Attack upon succesfully login.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4},"cwes":["CWE-79"],"references":["https://access.redhat.com/errata/RHSA-2018:3592","https://access.redhat.com/errata/RHSA-2018:3593","https://access.redhat.com/errata/RHSA-2018:3595","https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-14655","https://access.redhat.com/errata/RHSA-2018:3592"],"products":["redhat:keycloak","redhat:single_sign-on"],"source":"nvd","synced_at":"2026-10-19T20:53:59.789560037+00:00"},"epss":{"cve":"CVE-2018-14655","score":0.01194,"percentile":0.6804,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-458h-wv48-fq75","url":"https://osv.dev/vulnerability/GHSA-458h-wv48-fq75","summary":"Keycloak vulnerable to cross-site scripting via the state parameter","modified":"2024-02-16T07:53:36.176967Z","packages":[{"ecosystem":"Maven","name":"org.keycloak:keycloak-parent","purl":"pkg:maven/org.keycloak/keycloak-parent","ranges":["<=3.4.3.Final"],"fixed":[]},{"ecosystem":"Maven","name":"org.keycloak:keycloak-parent","purl":"pkg:maven/org.keycloak/keycloak-parent","ranges":[">=4.0.0.Beta1 <=4.0.0.Beta2"],"fixed":[]},{"ecosystem":"Maven","name":"org.keycloak:keycloak-parent","purl":"pkg:maven/org.keycloak/keycloak-parent","ranges":["4.3.0.Final"],"fixed":[]}]}],"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."]}