Skip to content
porro

Advisories  /  composer  /  drupal/drupal  /  CVE-2018-9861

MODERATE6.1 Composer · npm

Enhanced Image plugin for CKEditor is vulnerable to Cross-site scripting (XSS) (CVE-2018-9861)

CVE-2018-9861 GHSA-g78h-pf65-46rv Published 18 Apr 2018

Affects 3 packages. Each has a fixed release.

$ composer require drupal/drupal:^8.4.7
$ composer require drupal/drupal:^8.5.2
$ npm install ckeditor-dev@^4.9.2
$ composer require drupal/core:^8.4.7
$ composer require drupal/core:^8.5.2

Which versions are affected

Package Affected Fixed in
drupal/drupal ≥ 8.0, < 8.4.7≥ 8.5, < 8.5.2 8.4.78.5.2
ckeditor-dev ≥ 4.5.10, < 4.9.2 4.9.2
drupal/core ≥ 8.0, < 8.4.7≥ 8.5, < 8.5.2 8.4.78.5.2

Check a site from its project folder: composer show drupal/drupal shows the installed version. Or paste the lock file into the lock file checker to check every package at once.

Timeline

  1. Advisory published, with a fix

Questions

Which version of drupal/drupal is safe from CVE-2018-9861?

8.5.2 and later. Versions affected: ≥ 8.0, < 8.4.7, ≥ 8.5, < 8.5.2.

Which version of ckeditor-dev is safe from CVE-2018-9861?

4.9.2 and later. Versions affected: ≥ 4.5.10, < 4.9.2.

Which version of drupal/core is safe from CVE-2018-9861?

8.5.2 and later. Versions affected: ≥ 8.0, < 8.4.7, ≥ 8.5, < 8.5.2.