GitHub Advisory Database
GHSA-rgx6-rjj4-c388
ckeditor4 vulnerable to cross-site scripting
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | ckeditor4 | From 4.14.0 before 4.16.1 (fixed in 4.16.1) |
| Packagist | drupal/core | From 7.0.0 before 7.80 (fixed in 7.80) |
| Packagist | drupal/core | From 8.0.0 before 8.9.16 (fixed in 8.9.16) |
| Packagist | drupal/core | From 9.0.0 before 9.0.14 (fixed in 9.0.14) |
| Packagist | drupal/core | From 9.1.0 before 9.1.9 (fixed in 9.1.9) |
| Packagist | drupal/drupal | From 7.0.0 before 7.80 (fixed in 7.80) |
| Packagist | drupal/drupal | From 8.0.0 before 8.9.16 (fixed in 8.9.16) |
| Packagist | drupal/drupal | From 9.0.0 before 9.0.14 (fixed in 9.0.14) |
| Packagist | drupal/drupal | From 9.1.0 before 9.1.9 (fixed in 9.1.9) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-33829
- https://ckeditor.com/blog/ckeditor-4.16.1-with-accessibility-enhancements/#improvements-for-comments-in-html-parser
- https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2021-33829.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2021-33829.yaml
- https://github.com/ckeditor/ckeditor4
- https://lists.debian.org/debian-lts-announce/2021/11/msg00007.html
- https://lists.fedoraproject.org/archives/list/[email protected]/message/NYA354LJP47KCVJMTUO77ZCX3ZK42G3T
- https://lists.fedoraproject.org/archives/list/[email protected]/message/UVOYN2WKDPLKCNILIGEZM236ABQASLGW
- https://lists.fedoraproject.org/archives/list/[email protected]/message/WAGNWHFIQAVCP537KFFS2A2GDG66J7XD
- https://www.drupal.org/sa-core-2021-003
- https://www.npmjs.com/package/ckeditor4