# CVE-2018-9861

- Priority: **Routine**
- Reason: Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2018-04-19 · Modified: 2024-08-05
- Aliases: UBUNTU-CVE-2018-9861, GHSA-g78h-pf65-46rv, DRUPAL-CORE-2018-003
- Record: https://cvemate.com/vulnerability/CVE-2018-9861 · JSON: https://cvemate.com/vulnerability/CVE-2018-9861/json

## Description

```text
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.
```

## Signals

- CVSS: 6.1 medium (v3.0, NVD) CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS: 1.719%, percentile 78.262%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- ckeditor enhanced\_image: ≥ 4.5.10, \< 4.9.2
- drupal core (Packagist): ≥ 8.5.0, \< 8.5.2 \| ≥ 8.0, \< 8.4.7
- drupal drupal (Packagist): ≥ 8.0, \< 8.4.7 \| ≥ 8.5, \< 8.5.2
- ubuntu ckeditor (Ubuntu): \< 4.5.7+dfsg-2ubuntu0.16.04.1~esm1 \| \< 4.5.7+dfsg-2ubuntu0.18.04.1
- drupal drupal: ≥ 8.0.0, \< 8.4.7 \| ≥ 8.5.0, \< 8.5.2
- Npm ckeditor-dev (Npm): ≥ 4.5.10, \< 4.9.2

## References

- <https://github.com/ckeditor/ckeditor-dev/blob/master/CHANGES.md>
- <https://www.drupal.org/sa-core-2018-003>
- <http://www.securityfocus.com/bid/103924>
- <https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html>
- <https://ubuntu.com/security/CVE-2018-9861>
- <https://ubuntu.com/security/notices/USN-5340-1>
- <https://www.cve.org/CVERecord?id=CVE-2018-9861>
- <https://ubuntu.com/security/notices/USN-5340-2>
- <https://nvd.nist.gov/vuln/detail/CVE-2018-9861>
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2018-9861.yaml>
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2018-9861.yaml>

---

Data as of 2026-12-05T04:18:15.737Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
