{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2018-9861","id":"CVE-2018-9861","title":"Enhanced Image plugin for CKEditor is vulnerable to Cross-site scripting (XSS)","description":"Cross-site scripting (XSS) vulnerability in the Enhanced Image (aka image2) plugin for CKEditor (in versions 4.5.10 through 4.9.1; fixed in 4.9.2), as used in Drupal 8 before 8.4.7 and 8.5.x before 8.5.2 and other products, allows remote attackers to inject arbitrary web script through a crafted IMG element.","descriptionLong":"Cross-site scripting (XSS) vulnerability in the Enhanced Image (aka image2) plugin for CKEditor (in versions 4.5.10 through 4.9.1; fixed in 4.9.2), as used in Drupal 8 before 8.4.7 and 8.5.x before 8.5.2 and other products, allows remote attackers to inject arbitrary web script through a crafted IMG element.","published":"2018-04-19T17:00:00.000Z","updated":"2026-10-24T10:47:25.532383619Z","reserved":"2018-04-09T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"drupal/core","purl":"pkg:composer/drupal/core","ranges":[">=8.5.0 <8.5.2",">=8.0 <8.4.7"],"fixed":["8.5.2","8.4.7"],"advisory":"GHSA-g78h-pf65-46rv"},{"ecosystem":"npm","name":"ckeditor-dev","purl":"pkg:npm/ckeditor-dev","ranges":[">=4.5.10 <4.9.2"],"fixed":["4.9.2"],"advisory":"GHSA-g78h-pf65-46rv"},{"ecosystem":"Packagist","name":"drupal/drupal","purl":"pkg:composer/drupal/drupal","ranges":[">=8.0 <8.4.7",">=8.5 <8.5.2"],"fixed":["8.4.7","8.5.2"],"advisory":"GHSA-g78h-pf65-46rv"}],"cwes":["CWE-79"],"aliases":["DRUPAL-CORE-2018-003","GHSA-g78h-pf65-46rv"],"references":[{"url":"https://github.com/ckeditor/ckeditor-dev/blob/master/CHANGES.md","tags":["x_refsource_CONFIRM","x_transferred","Release Notes","advisory","web"]},{"url":"https://www.drupal.org/sa-core-2018-003","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"http://www.securityfocus.com/bid/103924","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html","tags":["x_refsource_MISC","x_transferred","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-9861","tags":["advisory"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2018-9861.yaml","tags":["web"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2018-9861.yaml","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01719,"epssPercentile":0.77928,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2018-9861","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-9861","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2018-9861","ok":true,"note":"3 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-g78h-pf65-46rv","ok":true,"note":"GHSA-g78h-pf65-46rv"},{"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-9861","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}