medium6.1
CVE-2021-33829
ckeditor4 vulnerable to cross-site scripting
Impact
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 | Fixed in |
|---|---|---|---|
| npm | ckeditor4 | >= 4.14.0, < 4.16.1 | 4.16.1 |
| composer | drupal/core | >= 7.0.0, < 7.80 | 7.80 |
| composer | drupal/drupal | >= 7.0.0, < 7.80 | 7.80 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Ckeditor | Ckeditor | from 4.14.0 before 4.16.1 |
| Fedoraproject | Fedora | Versions 33, 34, 35 |
| Drupal | Drupal | from 8.9.0 before 8.9.16 from 9.0.0 before 9.0.14 from 9.1.0 before 9.1.9 |
| Debian | Debian Linux | Version 9.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://ckeditor.com/blog/ckeditor-4.16.1-with-accessibility-enhancements/#improvements-for-comments-in-html-parser
- https://lists.debian.org/debian-lts-announce/2021/11/msg00007.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NYA354LJP47KCVJMTUO77ZCX3ZK42G3T/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UVOYN2WKDPLKCNILIGEZM236ABQASLGW/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WAGNWHFIQAVCP537KFFS2A2GDG66J7XD/
- https://www.drupal.org/sa-core-2021-003
- https://github.com/advisories/GHSA-rgx6-rjj4-c388
- https://nvd.nist.gov/vuln/detail/CVE-2021-33829
- https://www.npmjs.com/package/ckeditor4
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NYA354LJP47KCVJMTUO77ZCX3ZK42G3T/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UVOYN2WKDPLKCNILIGEZM236ABQASLGW/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WAGNWHFIQAVCP537KFFS2A2GDG66J7XD/
- 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