Vulnerability · Published Aug 12, 2021 · Assigned by GitHub_M
CVE-2021-37695Execution of JavaScript code using malformed HTML in ckeditor
High 7.3
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.3% (higher than 71% 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 potential vulnerability has been discovered in CKEditor 4 [Fake Objects](https://ckeditor.com/cke4/addon/fakeobjects) package. The vulnerability allowed to inject malformed Fake Objects HTML, which could result in executing JavaScript code. It affects all users using the CKEditor 4 plugins listed above at version < 4.16.2. 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-37695 |
| Ubuntu:22.04:LTS | ckeditor3 | no fix listed | UBUNTU-CVE-2021-37695 |
| Ubuntu:24.04:LTS | ckeditor3 | no fix listed | UBUNTU-CVE-2021-37695 |
| Ubuntu:22.04:LTS | ldap-account-manager | no fix listed | UBUNTU-CVE-2021-37695 |
| Ubuntu:24.04:LTS | ldap-account-manager | no fix listed | UBUNTU-CVE-2021-37695 |
| Ubuntu:25.10 | ldap-account-manager | no fix listed | UBUNTU-CVE-2021-37695 |
| Ubuntu:26.04:LTS | ldap-account-manager | no fix listed | UBUNTU-CVE-2021-37695 |
| Ubuntu:22.04:LTS | request-tracker4 | no fix listed | UBUNTU-CVE-2021-37695 |
| Ubuntu:24.04:LTS | request-tracker4 | no fix listed | UBUNTU-CVE-2021-37695 |
| Ubuntu:25.10 | request-tracker4 | no fix listed | UBUNTU-CVE-2021-37695 |
| Ubuntu:26.04:LTS | request-tracker4 | no fix listed | UBUNTU-CVE-2021-37695 |
| npm | ckeditor4 | 4.16.2 | GHSA-m94c-37g6-cjhc |
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
References
- https://github.com/ckeditor/ckeditor4/security/advisories/GHSA-m94c-37g6-cjhc x_refsource_CONFIRM
- https://github.com/ckeditor/ckeditor4/commit/de3c001540715f9c3801aaa38a1917de46cfcf58 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
- [debian-lts-announce] 20211109 [SECURITY] [DLA 2813-1] ckeditor security update mailing-list, x_refsource_MLIST
- https://www.oracle.com/security-alerts/cpujan2022.html x_refsource_MISC