cve.bz

CVE-2018-9861 Cross-site Scripting

6.1 mediumEPSS 1.7%Fix available

Medium (6.1). EPSS 1.7% estimated probability of exploitation activity in the next 30 days. Fixed in drupal/core 8.4.7, 8.5.2.

On this page
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.

Severity

CVSS 3.0

6.1 medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
1.7% (unchanged from 1.7% a week ago; 1.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 78th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • drupal/core (Packagist): fixed in 8.4.7, 8.5.2
  • ckeditor-dev (npm): fixed in 4.9.2
  • drupal/drupal (Packagist): fixed in 8.4.7, 8.5.2
  • Ubuntu: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2018-9861 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-9861?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-9861?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-9861 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
ckeditor:enhanced_imagefrom 4.5.10 before 4.9.2
drupal:drupalfrom 8.0.0 before 8.4.7
drupal:drupalfrom 8.5.0 before 8.5.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
DRUPAL-CORE-2018-003Packagistdrupal/core>=8.0.0 <8.4.7
>=8.5.0 <8.5.2
8.4.7, 8.5.2
GHSA-g78h-pf65-46rvPackagistdrupal/core>=8.5.0 <8.5.28.5.2
GHSA-g78h-pf65-46rvnpmckeditor-dev>=4.5.10 <4.9.24.9.2
GHSA-g78h-pf65-46rvPackagistdrupal/core>=8.0 <8.4.78.4.7
GHSA-g78h-pf65-46rvPackagistdrupal/drupal>=8.0 <8.4.78.4.7
GHSA-g78h-pf65-46rvPackagistdrupal/drupal>=8.5 <8.5.28.5.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu18.04:LTSckeditor4.5.7+dfsg-2ubuntu0.18.04.1UBUNTU-CVE-2018-9861 USN-5340-1
Ubuntu20.04:LTSckeditor4.12.1+dfsg-1ubuntu0.1USN-5340-1
UbuntuPro:16.04:LTSckeditor4.5.7+dfsg-2ubuntu0.16.04.1~esm1UBUNTU-CVE-2018-9861 USN-5340-2

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON