DRUPAL-CONTRIB-2021-026 The Webform module uses the [CKEditor](https://github.com/ckeditor/ckeditor4), library for WYSIWYG editing.
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-CONTRIB-2021-026?
DRUPAL-CONTRIB-2021-026 is a cross-site scripting vulnerability in drupal/webform, published on 25 Aug 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 Webform module uses the CKEditor, library for WYSIWYG editing. CKEditor has released a security update that impacts Webform.
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 announcement of the release.
Which versions are affected by DRUPAL-CONTRIB-2021-026?
Linux distribution packages (1)
drupal/webform Packagist:https://packages.drupal.org/8 | All versions | 5.28.0, 6.0.5 |
How do I fix DRUPAL-CONTRIB-2021-026?
Upgrade to a fixed version.
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-CONTRIB-2021-026 being exploited?
There is no known exploitation of DRUPAL-CONTRIB-2021-026 in the wild and no public exploit code.