{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2018-14655","id":"CVE-2018-14655","title":"Keycloak vulnerable to cross-site scripting via the state parameter","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.","descriptionLong":"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.","published":"2018-11-13T19:00:00.000Z","updated":"2026-10-24T10:31:06.736112463Z","reserved":"2018-07-27T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.0","score":4.6,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"redhat"},"metrics":[{"version":"3.0","score":4.6,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"redhat"},{"version":"3.0","score":4.6,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"redhat.com"},{"version":"3.0","score":5.4,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.0","score":5.4,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.0","score":5.4,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","rating":"low","source":"NVD"}],"rating":"medium","products":["Red Hat keycloak"],"affectedProducts":[{"vendor":"Red Hat","product":"keycloak","defaultStatus":null,"versions":[{"status":"affected","version":"3.4.3.Final, 4.0.0.Beta2, 4.3.0.Final"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.keycloak:keycloak-parent","purl":"pkg:maven/org.keycloak/keycloak-parent","ranges":["<=3.4.3.Final",">=4.0.0.Beta1 <=4.0.0.Beta2","4.3.0.Final"],"fixed":[],"advisory":"GHSA-458h-wv48-fq75"}],"cwes":["CWE-79"],"aliases":["GHSA-458h-wv48-fq75"],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-14655","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Vendor Advisory","report","web"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3592","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3593","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3595","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-14655","tags":["advisory"]},{"url":"https://github.com/keycloak/keycloak","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01194,"epssPercentile":0.68648,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2018-14655","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-14655","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2018-14655","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-458h-wv48-fq75","ok":true,"note":"GHSA-458h-wv48-fq75"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2018-14655","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}