Skip to content
OpenAdvisories
Medium · 6.1 Scanner template CVE-2021-33829 BIT-drupal-2021-33829DRUPAL-CORE-2021-003EUVD-2021-1398GHSA-rgx6-rjj4-c388

ckeditor4 vulnerable to cross-site scripting

Published Jun 9, 2021 · Updated Aug 3, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 12 ckeditor 4.16.0+dfsg-2 —
Debian 12 ckeditor3 No fix yet —
Debian 9 ckeditor 4.5.7+dfsg-2+deb9u1 DLA-2813-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS ckeditor 4.12.1+dfsg-1ubuntu0.1 USN-5340-1
Ubuntu 18.04 LTS ckeditor 4.5.7+dfsg-2ubuntu0.18.04.1 USN-5340-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS ckeditor 4.5.7+dfsg-2ubuntu0.16.04.1~esm1 USN-5340-2

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
npm ckeditor4 >= 4.14.0, < 4.16.1 4.16.1 GHSA-rgx6-rjj4-c388
Packagist drupal/core >= 8.0.0, < 8.9.16 · >= 9.0.0, < 9.0.14 · >= 9.1.0, < 9.1.9 8.9.16, 9.0.14, 9.1.9 DRUPAL-CORE-2021-003
Packagist drupal/core >= 7.0.0, < 7.80 7.80 GHSA-rgx6-rjj4-c388
Packagist drupal/core >= 8.0.0, < 8.9.16 8.9.16 GHSA-rgx6-rjj4-c388
Packagist drupal/core >= 9.0.0, < 9.0.14 9.0.14 GHSA-rgx6-rjj4-c388
Packagist drupal/core >= 9.1.0, < 9.1.9 9.1.9 GHSA-rgx6-rjj4-c388
Packagist drupal/drupal >= 7.0.0, < 7.80 7.80 GHSA-rgx6-rjj4-c388
Packagist drupal/drupal >= 8.0.0, < 8.9.16 8.9.16 GHSA-rgx6-rjj4-c388
Packagist drupal/drupal >= 9.0.0, < 9.0.14 9.0.14 GHSA-rgx6-rjj4-c388
Packagist drupal/drupal >= 9.1.0, < 9.1.9 9.1.9 GHSA-rgx6-rjj4-c388

Advisories 4

References