DRUPAL-CORE-2021-011 The Drupal project uses the [CKEditor](https://github.com/ckeditor/ckeditor4) library for WYSIWYG editing.

Not scored Published

Attackers with content creation rights can exploit XSS in CKEditor to target privileged users, potentially leading to account takeover.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is DRUPAL-CORE-2021-011?

DRUPAL-CORE-2021-011 is a cross-site scripting vulnerability in drupal/core, published on 17 Nov 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

The Drupal project uses the CKEditor library for WYSIWYG editing. CKEditor has released a security update that impacts Drupal, along with a hotfix for that update.

Vulnerabilities are possible if Drupal is configured to allow use of the CKEditor library for WYSIWYG editing. An attacker that can create or edit content (even without access to CKEditor themselves) may be able to exploit one or more Cross-Site Scripting (XSS) vulnerabilities to target users with access to the WYSIWYG CKEditor, including site admins with privileged access.

For more information, see CKEditor's security advisories:

This advisory is not covered by Drupal Steward.

Which versions are affected by DRUPAL-CORE-2021-011?

1 open source package ship an affected version, including drupal/core.

PackageAffectedFixed in
drupal/core PackagistFrom 8.0.08.9.20, 9.1.14, 9.2.9

How do I fix DRUPAL-CORE-2021-011?

Upgrade drupal/core to a fixed version for your release line: 8.9.20, 9.1.14 or 9.2.9.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is DRUPAL-CORE-2021-011 being exploited?

There is no known exploitation of DRUPAL-CORE-2021-011 in the wild and no public exploit code.

Sources

Is DRUPAL-CORE-2021-011 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free