Every CVE Search/ Get API key

CVE-2021-37695

Execution of JavaScript code using malformed HTML in ckeditor

7.3 HighFix available

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

1.32%Up 0.7 points since Aug 13, 2021
90%50%10%1%

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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
CVSS 3.1
5.4 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
CVSS 2.0
3.5 LowAV: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 MediumCVSS: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 MediumCVSS: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 HighCVSS: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 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
CVSS 3.1
5.4 MediumCVSS: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

Show 1 moreShow less

Affected packages

Affected packages
PackageAffectedFixed
ckeditor4
npm
before 4.16.2
4.16.2
ckeditor
Debian:12
before 4.16.2+dfsg-1
4.16.2+dfsg-1
ckeditor
Debian: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
ckeditor
Ubuntu: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-manager
Ubuntu:16.04:LTS
All versions, plus listed versions
4.9-15.1-15.2-15.2-1ubuntu1
None known
request-tracker4
Ubuntu:16.04:LTS
All versions, plus listed versions
4.2.11-24.2.12-34.2.12-44.2.12-5
None known
ckeditor
Ubuntu: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
ckeditor3
Ubuntu:18.04:LTS
All versions, plus listed versions
3.6.6.1+dfsg-1
None known
ldap-account-manager
Ubuntu:18.04:LTS
All versions, plus listed versions
5.7-16.1-16.2-1
None known
request-tracker4
Ubuntu: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
Affected packages
PackageAffectedFixed
ckeditor
Ubuntu: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
ckeditor3
Ubuntu:20.04:LTS
All versions, plus listed versions
3.6.6.1+dfsg-33.6.6.1+dfsg-4
None known
ldap-account-manager
Ubuntu:20.04:LTS
All versions, plus listed versions
6.7-1
None known
request-tracker4
Ubuntu:20.04:LTS
All versions, plus listed versions
4.4.3-24.4.3-2+deb10u3build0.20.04.1
None known
ckeditor3
Ubuntu:22.04:LTS
All versions, plus listed versions
3.6.6.1+dfsg-7
None known
ldap-account-manager
Ubuntu:22.04:LTS
All versions, plus listed versions
7.5-17.7-1
None known
request-tracker4
Ubuntu:22.04:LTS
All versions, plus listed versions
4.4.4+dfsg-2ubuntu14.4.4+dfsg-2ubuntu1.22.04.1
None known
ckeditor3
Ubuntu:24.04:LTS
All versions, plus listed versions
3.6.6.1+dfsg-7
None known
ldap-account-manager
Ubuntu:24.04:LTS
All versions, plus listed versions
8.3-18.5-1
None known
request-tracker4
Ubuntu: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-manager
Ubuntu:25.10
All versions, plus listed versions
9.0-1
None known
request-tracker4
Ubuntu:25.10
All versions, plus listed versions
4.4.7+dfsg-4syncable1
None known
ldap-account-manager
Ubuntu:26.04:LTS
All versions, plus listed versions
9.0-19.0-1build1
None known
request-tracker4
Ubuntu:26.04:LTS
All versions, plus listed versions
4.4.7+dfsg-4syncable1
None known
ckeditor
Ubuntu: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
ckeditor
Ubuntu: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
ckeditor
Ubuntu: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

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE 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

Show 18 moreShow less
MoveEnter Open