CVE-2021-37695 json
Execution of JavaScript code using malformed HTML in ckeditor
published 2021-08-12 5 y ago modified 2026-07-08 4 mo ago also GHSA-m94c-37g6-cjhc , EUVD-2021-1795
- cvss
- 7.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 71%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm ckeditor4 4.16.2
- ckeditor ckeditor 4.16.2
- oracle application_express 21.1.4
- oracle jd_edwards_enterpriseone_tools 9.2.6.0
- ckeditor Debian 12 4.16.2+dfsg-1
debian advisories DEBIAN-CVE-2021-37695
- ckeditor Ubuntu 18.04 LTS 4.5.7+dfsg-2ubuntu0.18.04.1
- ckeditor Ubuntu 20.04 LTS 4.12.1+dfsg-1ubuntu0.1
- ckeditor Ubuntu Pro 16.04 LTS 4.5.7+dfsg-2ubuntu0.16.04.1~esm1
ubuntu advisories UBUNTU-CVE-2021-37695
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-37695 updated cvss 7.3
ckeditor: fake objects feature vulnerability allowing to execute JavaScript code using malformed HTML
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.32% chance of exploitation in the next 30 days, higher than 71% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N |
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
| GitHub | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | ckeditor4 | <4.16.2 |
4.16.2 |
Affected products
- ckeditor ckeditor4
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/ckeditor/ckeditor4/commit/de3c001540715f9c3801aaa38a1917de46cfcf58
web, patch, third-party-advisory
-
oracle.com
/security-alerts/cpuoct2021.html
web, patch, third-party-advisory
-
oracle.com
/security-alerts/cpujan2022.html
web, patch, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/NYA354LJP47KCVJMTUO77ZCX3ZK42G3T/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/UVOYN2WKDPLKCNILIGEZM236ABQASLGW/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/WAGNWHFIQAVCP537KFFS2A2GDG66J7XD/
vendor-advisory
-
github.com
/ckeditor/ckeditor4/security/advisories/GHSA-m94c-37g6-cjhc
web, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2021/11/msg00007.html
mailing-list, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-37695
advisory
-
github.com
/ckeditor/ckeditor4
package
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/NYA354LJP47KCVJMTUO77ZCX3ZK42G3T
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/UVOYN2WKDPLKCNILIGEZM236ABQASLGW
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/WAGNWHFIQAVCP537KFFS2A2GDG66J7XD
web
Sources
- CVE List CVE-2021-37695
- GitHub Advisory GHSA-m94c-37g6-cjhc
- NVD CVE-2021-37695
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.