CVE-2021-33829Ckeditor
Medium 6.1 No auth needed
Follow: this CVE · Ckeditor · Ckeditor We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 3.2% probability of exploitation in 30 days · percentile 89
- Auth required
- No
- Published
- Jun 9, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
A cross-site scripting (XSS) vulnerability in the HTML Data Processor in CKEditor 4 4.14.0 through 4.16.x before 4.16.1 allows remote attackers to inject executable JavaScript code through a crafted comment because --!> is mishandled.
What to do
- Apply the vendor's security update for Ckeditor.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | drupal/core |
≥ 8.0.0 < 8.9.16 |
8.9.16 |
composer require "drupal/core:^8.9.16" |
| Packagist | drupal/core |
≥ 9.0.0 < 9.0.14 |
9.0.14 |
composer require "drupal/core:^9.0.14" |
| Packagist | drupal/core |
≥ 9.1.0 < 9.1.9 |
9.1.9 |
composer require "drupal/core:^9.1.9" |
| Packagist | drupal/core |
≥ 7.0.0 < 7.80 |
7.80 |
composer require "drupal/core:^7.80" |
| Packagist | drupal/core |
≥ 8.0.0 < 8.9.16 |
8.9.16 |
composer require "drupal/core:^8.9.16" |
| Packagist | drupal/core |
≥ 9.0.0 < 9.0.14 |
9.0.14 |
composer require "drupal/core:^9.0.14" |
| Packagist | drupal/core |
≥ 9.1.0 < 9.1.9 |
9.1.9 |
composer require "drupal/core:^9.1.9" |
| Packagist | drupal/drupal |
≥ 7.0.0 < 7.80 |
7.80 |
composer require "drupal/drupal:^7.80" |
| Packagist | drupal/drupal |
≥ 8.0.0 < 8.9.16 |
8.9.16 |
composer require "drupal/drupal:^8.9.16" |
| Packagist | drupal/drupal |
≥ 9.0.0 < 9.0.14 |
9.0.14 |
composer require "drupal/drupal:^9.0.14" |
| Packagist | drupal/drupal |
≥ 9.1.0 < 9.1.9 |
9.1.9 |
composer require "drupal/drupal:^9.1.9" |
| npm | ckeditor4 |
≥ 4.14.0 < 4.16.1 |
4.16.1 |
npm install ckeditor4@4.16.1 |
Per OSV / GitHub Advisories (DRUPAL-CORE-2021-003, GHSA-rgx6-rjj4-c388). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| ckeditor | ckeditor | ≥ 4.14.0 < 4.16.1 |
| fedoraproject | fedora | 33 |
| fedoraproject | fedora | 34 |
| fedoraproject | fedora | 35 |
| drupal | drupal | ≥ 8.9.0 < 8.9.16 |
| drupal | drupal | ≥ 9.0.0 < 9.0.14 |
| drupal | drupal | ≥ 9.1.0 < 9.1.9 |
| debian | debian_linux | 9.0 |
Official sources
References
Links published by the sources. Open them with care.
- ckeditor.com Patch Release Notes Vendor Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- www.drupal.org Patch Third Party Advisory