Drupal Cross-Site Scripting (XSS) in CKEditor Third-party Library

drupal/drupal Updated 02 Oct 2025

Summary

15/05/2024
MODERATE
Yes i
Moderate
4.6

GHSA-qf65-hph9-453r: Drupal Cross-Site Scripting (XSS) affecting CKEditor Third-party library. Affects drupal/drupal across 3 version ranges.

>= 8.0.0, < 8.9.16 >= 9.0.0, < 9.1.12 >= 9.2.0, < 9.2.4

Fixed in 8.9.16, 9.1.12 or 9.2.4, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Drupal is a popular open-source content management system (CMS) used for building websites and applications. It utilizes the CKEditor library for providing a rich text editor functionality. CKEditor is a widely used third-party library for WYSIWYG editing. However, a security vulnerability has been discovered in CKEditor that affects Drupal installations.

Vulnerability Detail

The vulnerability arises when Drupal is configured to use the CKEditor library for WYSIWYG editing. It allows an attacker, even without direct access to CKEditor, to exploit one or more Cross-Site Scripting (XSS) vulnerabilities. This can be done by creating or editing content, potentially targeting users with access to the WYSIWYG CKEditor, including privileged site administrators. The impact of XSS vulnerabilities can range from unauthorized data access to arbitrary code execution.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 8.0.0, < 8.9.16 8.9.16
    composer require drupal/drupal:8.9.16
  • >= 9.0.0, < 9.1.12 9.1.12
    composer require drupal/drupal:9.1.12
  • >= 9.2.0, < 9.2.4 9.2.4
    composer require drupal/drupal:9.2.4

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no specific workaround provided for this vulnerability. Updating Drupal and the CKEditor library is the recommended solution.

Conclusion

The Drupal Cross-Site Scripting (XSS) vulnerability in the CKEditor third-party library poses a moderate risk to Drupal installations. To mitigate this vulnerability, it is crucial to update Drupal to the latest version and ensure the CKEditor library is up to date. Regularly monitoring for security updates and promptly applying them is essential for maintaining the security of Drupal-based websites and applications. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for drupal/drupal →

Share this vulnerability

FAQ

Drupal is an open-source content management system (CMS) used for building websites and applications. It provides a flexible framework for managing and organizing content.

CKEditor is a popular WYSIWYG editor library used in various web applications, including Drupal. It allows users to create and edit content with rich text formatting capabilities.

Cross-Site Scripting (XSS) is a type of security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users. This can lead to unauthorized data access, session hijacking, or arbitrary code execution.

An attacker can exploit this vulnerability by creating or editing content that contains malicious scripts. When users with access to the CKEditor view or edit the content, the scripts can be executed in their browsers, potentially compromising their accounts or exposing sensitive information.

The impact of this vulnerability can vary depending on the attacker's intentions. It can lead to unauthorized data access, session hijacking, defacement of websites, or even remote code execution on the affected Drupal installation.

Related vulnerabilities

Recent vulnerabilities recorded for drupal/drupal.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 8.0.0, < 8.9.16 8.9.16
    composer require drupal/drupal:8.9.16
  • >= 9.0.0, < 9.1.12 9.1.12
    composer require drupal/drupal:9.1.12
  • >= 9.2.0, < 9.2.4 9.2.4
    composer require drupal/drupal:9.2.4

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback