Vulnerability · Published Aug 12, 2021 · Assigned by GitHub_M
CVE-2021-32808Cross-site scripting in ckeditor via abuse of undo functionality
High 7.6
In plain English
A high-severity cross-site scripting in ckeditor4 from ckeditor. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 68% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
ckeditor is an open source WYSIWYG HTML editor with rich content support. A vulnerability has been discovered in the clipboard Widget plugin if used alongside the undo feature. The vulnerability allows a user to abuse undo functionality using malformed widget HTML, which could result in executing JavaScript code. It affects all users using the CKEditor 4 plugins listed above at version >= 4.13.0. The problem has been recognized and patched. The fix will be available in version 4.16.2.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | ckeditor | 4.16.2+dfsg-1 | DEBIAN-CVE-2021-32808 |
| Ubuntu:22.04:LTS | ckeditor | 4.16.2+dfsg-1 | UBUNTU-CVE-2021-32808 |
| npm | ckeditor4 | 4.16.2 | GHSA-6226-h7ff-ch6c |
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N
References
- https://github.com/ckeditor/ckeditor4/security/advisories/GHSA-6226-h7ff-ch6c x_refsource_CONFIRM
- https://github.com/ckeditor/ckeditor4/releases/tag/4.16.2 x_refsource_MISC
- FEDORA-2021-51457da891 vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-72176a63a8 vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-87578dca12 vendor-advisory, x_refsource_FEDORA
- https://www.oracle.com/security-alerts/cpuoct2021.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpujan2022.html x_refsource_MISC