CVE-2021-37695
Execution of JavaScript code using malformed HTML in ckeditor
ckeditor is an open source WYSIWYG HTML editor with rich content support. A potential vulnerability has been discovered in CKEditor 4 Fake Objects 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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
7.3
Execution of JavaScript code using malformed HTML in ckeditor
ckeditor is an open source WYSIWYG HTML editor with rich content support. A potential vulnerability has been discovered in CKEditor 4 Fake Objects 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.
- Record
CVE-2021-37695- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
EUVDEUVD-2021-1795
7.3
ckeditor is an open source WYSIWYG HTML editor with rich content support. A potential vulnerability has been discovered in CKEditor 4 Fake Objects 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.
- Record
EUVD-2021-1795- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-m94c-37g6-cjhc
7.3
Fake objects feature vulnerability allowing to execute JavaScript code using malformed HTML.
Affected packages
The vulnerability has been discovered in Fake Objects plugin. All plugins with Fake Objects plugin dependency are affected:
Impact
A potential vulnerability has been discovered in CKEditor 4 Fake Objects 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.
Patches
The problem has been recognized and patched. The fix will be available in version 4.16.2.
For more information
Email us at [email protected] if you have any questions or comments about this advisory.
Acknowledgements
The CKEditor 4 team would like to thank Mika Kulmala (kulmik) for recognizing and reporting this vulnerability.
- Record
GHSA-m94c-37g6-cjhc- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
NVD
7.3
ckeditor is an open source WYSIWYG HTML editor with rich content support. A potential vulnerability has been discovered in CKEditor 4 Fake Objects 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.
- Record
CVE-2021-37695- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N - CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - CVSS 2.0
- 3.5 Low
AV:N/AC:M/Au:S/C:N/I:P/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSV
5.4
ckeditor is an open source WYSIWYG HTML editor with rich content support. A potential vulnerability has been discovered in CKEditor 4 Fake Objects 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.
- Record
CVE-2021-37695- CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-02
OSVDEBIAN-CVE-2021-37695
5.4
ckeditor is an open source WYSIWYG HTML editor with rich content support. A potential vulnerability has been discovered in CKEditor 4 Fake Objects 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.
- Record
DEBIAN-CVE-2021-37695- CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-02
Show 4 moreShow less
OSVGHSA-m94c-37g6-cjhc
7.3
Fake objects feature vulnerability allowing to execute JavaScript code using malformed HTML.
Affected packages
The vulnerability has been discovered in Fake Objects plugin. All plugins with Fake Objects plugin dependency are affected:
Impact
A potential vulnerability has been discovered in CKEditor 4 Fake Objects 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.
Patches
The problem has been recognized and patched. The fix will be available in version 4.16.2.
For more information
Email us at [email protected] if you have any questions or comments about this advisory.
Acknowledgements
The CKEditor 4 team would like to thank Mika Kulmala (kulmik) for recognizing and reporting this vulnerability.
- Record
GHSA-m94c-37g6-cjhc- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-37695
7.3
ckeditor is an open source WYSIWYG HTML editor with rich content support. A potential vulnerability has been discovered in CKEditor 4 Fake Objects 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.
- Record
UBUNTU-CVE-2021-37695- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N - CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-02
OSVUSN-5340-1 No score
ckeditor vulnerabilities
Kyaw Min Thein discovered that CKEditor incorrectly handled certain inputs. An attacker could possibly use this issue to execute arbitrary code. This issue only affects Ubuntu 18.04 LTS. (CVE-2018-9861)
Micha Bentkowski discovered that CKEditor incorrectly handled certain inputs. An attacker could possibly use this issue to execute arbitrary code. This issue only affects Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2020-9281)
Anton Subbotin discovered that CKEditor incorrectly handled certain inputs. An attacker could possibly use this issue to execute arbitrary code. This issue only affects Ubuntu 21.10. (CVE-2021-32808)
Anton Subbotin discovered that CKEditor incorrectly handled certain inputs. An attacker could possibly use this issue to inject arbitrary code. (CVE-2021-32809)
Or Sahar discovered that CKEditor incorrectly handled certain inputs. An attacker could possibly use this issue to execute arbitrary code. This issue only affects Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2021-33829)
Mika Kulmala discovered that CKEditor incorrectly handled certain inputs. An attacker could possibly use this issue to execute arbitrary code. (CVE-2021-37695)
- Record
USN-5340-1- Updated
- 2026-11-02
OSVUSN-5340-2 No score
ckeditor vulnerabilities
USN-5340-1 fixed several vulnerabilities in CKEditor. This update provides the fixes for CVE-2018-9861, CVE-2020-9281, CVE-2021-32809, CVE-2021-33829 and CVE-2021-37695 for Ubuntu 16.04 ESM.
Original advisory details:
Kyaw Min Thein discovered that CKEditor incorrectly handled certain inputs. An attacker could possibly use this issue to execute arbitrary code. This issue only affects Ubuntu 18.04 LTS. (CVE-2018-9861)
Micha Bentkowski discovered that CKEditor incorrectly handled certain inputs. An attacker could possibly use this issue to execute arbitrary code. This issue only affects Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2020-9281)
Anton Subbotin discovered that CKEditor incorrectly handled certain inputs. An attacker could possibly use this issue to execute arbitrary code. This issue only affects Ubuntu 21.10. (CVE-2021-32808)
Anton Subbotin discovered that CKEditor incorrectly handled certain inputs. An attacker could possibly use this issue to inject arbitrary code. (CVE-2021-32809)
Or Sahar discovered that CKEditor incorrectly handled certain inputs. An attacker could possibly use this issue to execute arbitrary code. This issue only affects Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2021-33829)
Mika Kulmala discovered that CKEditor incorrectly handled certain inputs. An attacker could possibly use this issue to execute arbitrary code. (CVE-2021-37695)
- Record
USN-5340-2- Updated
- 2026-11-02
Affected products
- ckeditor
- ckeditor ckeditor4
- debian linux
- fedoraproject fedora
- oracle application express
- oracle banking party management
- oracle commerce guided search
- oracle commerce merchandising
- oracle documaker
- oracle financial services analytical applications infrastructure
- oracle financial services model management and governance
- oracle jd edwards enterpriseone tools
Show 1 moreShow less
Affected packages
| Package | Affected | Fixed |
|---|---|---|
ckeditor4npm |
before 4.16.2 | 4.16.2 |
ckeditorDebian:12 |
before 4.16.2+dfsg-1 | 4.16.2+dfsg-1 |
ckeditorDebian:9 From an advisory covering 2 CVEs |
before 4.5.7+dfsg-2+deb9u1, plus listed versions 4.5.7+dfsg-2 |
4.5.7+dfsg-2+deb9u1 |
ckeditorUbuntu:Pro:16.04:LTS |
before 4.5.7+dfsg-2ubuntu0.16.04.1~esm1, plus listed versions 4.4.4+dfsg1-34.5.6+dfsg-14.5.7+dfsg-14.5.7+dfsg-2 |
4.5.7+dfsg-2ubuntu0.16.04.1~esm1 |
ldap-account-managerUbuntu:16.04:LTS |
All versions, plus listed versions 4.9-15.1-15.2-15.2-1ubuntu1 |
None known |
request-tracker4Ubuntu:16.04:LTS |
All versions, plus listed versions 4.2.11-24.2.12-34.2.12-44.2.12-5 |
None known |
ckeditorUbuntu:18.04:LTS |
before 4.5.7+dfsg-2ubuntu0.18.04.1, plus listed versions 4.5.7+dfsg-2 |
4.5.7+dfsg-2ubuntu0.18.04.1 |
ckeditor3Ubuntu:18.04:LTS |
All versions, plus listed versions 3.6.6.1+dfsg-1 |
None known |
ldap-account-managerUbuntu:18.04:LTS |
All versions, plus listed versions 5.7-16.1-16.2-1 |
None known |
request-tracker4Ubuntu:Pro:18.04:LTS |
All versions, plus listed versions 4.4.1-54.4.2-14.4.2-24.4.2-2ubuntu0.1~esm1 |
None known |
Show 17 moreShow less
| Package | Affected | Fixed |
|---|---|---|
ckeditorUbuntu:20.04:LTS |
before 4.12.1+dfsg-1ubuntu0.1, plus listed versions 4.11.1+dfsg-14.12.1+dfsg-1 |
4.12.1+dfsg-1ubuntu0.1 |
ckeditor3Ubuntu:20.04:LTS |
All versions, plus listed versions 3.6.6.1+dfsg-33.6.6.1+dfsg-4 |
None known |
ldap-account-managerUbuntu:20.04:LTS |
All versions, plus listed versions 6.7-1 |
None known |
request-tracker4Ubuntu:20.04:LTS |
All versions, plus listed versions 4.4.3-24.4.3-2+deb10u3build0.20.04.1 |
None known |
ckeditor3Ubuntu:22.04:LTS |
All versions, plus listed versions 3.6.6.1+dfsg-7 |
None known |
ldap-account-managerUbuntu:22.04:LTS |
All versions, plus listed versions 7.5-17.7-1 |
None known |
request-tracker4Ubuntu:22.04:LTS |
All versions, plus listed versions 4.4.4+dfsg-2ubuntu14.4.4+dfsg-2ubuntu1.22.04.1 |
None known |
ckeditor3Ubuntu:24.04:LTS |
All versions, plus listed versions 3.6.6.1+dfsg-7 |
None known |
ldap-account-managerUbuntu:24.04:LTS |
All versions, plus listed versions 8.3-18.5-1 |
None known |
request-tracker4Ubuntu:24.04:LTS |
All versions, plus listed versions 4.4.4+dfsg-2ubuntu14.4.4+dfsg-2ubuntu24.4.7+dfsg-1 |
None known |
ldap-account-managerUbuntu:25.10 |
All versions, plus listed versions 9.0-1 |
None known |
request-tracker4Ubuntu:25.10 |
All versions, plus listed versions 4.4.7+dfsg-4syncable1 |
None known |
ldap-account-managerUbuntu:26.04:LTS |
All versions, plus listed versions 9.0-19.0-1build1 |
None known |
request-tracker4Ubuntu:26.04:LTS |
All versions, plus listed versions 4.4.7+dfsg-4syncable1 |
None known |
ckeditorUbuntu:18.04:LTS From an advisory covering 6 CVEs |
before 4.5.7+dfsg-2ubuntu0.18.04.1, plus listed versions 4.5.7+dfsg-2 |
4.5.7+dfsg-2ubuntu0.18.04.1 |
ckeditorUbuntu:20.04:LTS From an advisory covering 6 CVEs |
before 4.12.1+dfsg-1ubuntu0.1, plus listed versions 4.11.1+dfsg-14.12.1+dfsg-1 |
4.12.1+dfsg-1ubuntu0.1 |
ckeditorUbuntu:Pro:16.04:LTS From an advisory covering 5 CVEs |
before 4.5.7+dfsg-2ubuntu0.16.04.1~esm1, plus listed versions 4.4.4+dfsg1-34.5.6+dfsg-14.5.7+dfsg-14.5.7+dfsg-2 |
4.5.7+dfsg-2ubuntu0.16.04.1~esm1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-37695 is a high vulnerability (CVSS 7.3) in Ckeditor, published August 12, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.32%, the 70th percentile. Fixed in ckeditor4 4.16.2.
References
github.com/ckeditor/ckeditor4/security/advisories/GHSA-m94c-37g6-cjhc
github.com/ckeditor/ckeditor4/commit/de3c001540715f9c3801aaa38a1917de46cfcf58
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NYA354LJP47KCVJMTUO77ZCX3ZK42G3T
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UVOYN2WKDPLKCNILIGEZM236ABQASLGW
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WAGNWHFIQAVCP537KFFS2A2GDG66J7XD
oracle.com/security-alerts/cpuoct2021.html
Show 18 moreShow less
lists.debian.org/debian-lts-announce/2021/11/msg00007.html
oracle.com/security-alerts/cpujan2022.html
nvd.nist.gov/vuln/detail/CVE-2021-37695
lists.fedoraproject.org/archives/list/[email protected]/message/NYA354LJP47KCVJMTUO77ZCX3ZK42G3T
lists.fedoraproject.org/archives/list/[email protected]/message/UVOYN2WKDPLKCNILIGEZM236ABQASLGW
lists.fedoraproject.org/archives/list/[email protected]/message/WAGNWHFIQAVCP537KFFS2A2GDG66J7XD
github.com/advisories/GHSA-m94c-37g6-cjhc
security-tracker.debian.org/tracker/CVE-2021-37695
github.com/ckeditor/ckeditor4
ubuntu.com/security/CVE-2021-37695
ubuntu.com/security/notices/USN-5340-1
ubuntu.com/security/notices/USN-5340-2
cve.org/CVERecord?id=CVE-2021-37695
ubuntu.com/security/CVE-2018-9861
ubuntu.com/security/CVE-2020-9281
ubuntu.com/security/CVE-2021-32808
ubuntu.com/security/CVE-2021-32809
ubuntu.com/security/CVE-2021-33829