Every CVE Search/ Get API key

CVE-2021-41165

HTML comments vulnerability allowing to execute JavaScript code

8.2 HighFix available

CKEditor4 is an open source WYSIWYG HTML editor. In affected version a vulnerability has been discovered in the core HTML processing module and may affect all plugins used by CKEditor 4. The vulnerability allowed to inject malformed comments HTML bypassing content sanitization, which could result in executing JavaScript code. It affects all users using the CKEditor 4 at version < 4.17.0. The problem has been recognized and patched. The fix will be available in version 4.17.0.

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
Low
Availability
Low

Exploit likelihood

1.57%Up 0.7 points since Nov 18, 2021
90%50%10%1%

What each source reports

CVE List Score used 8.2

HTML comments vulnerability allowing to execute JavaScript code

CKEditor4 is an open source WYSIWYG HTML editor. In affected version a vulnerability has been discovered in the core HTML processing module and may affect all plugins used by CKEditor 4. The vulnerability allowed to inject malformed comments HTML bypassing content sanitization, which could result in executing JavaScript code. It affects all users using the CKEditor 4 at version < 4.17.0. The problem has been recognized and patched. The fix will be available in version 4.17.0.

Record
CVE-2021-41165
CVSS 3.1
8.2 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L
Weakness
CWE-79
Updated
2026-11-02
EUVDEUVD-2021-2315 8.2

CKEditor4 is an open source WYSIWYG HTML editor. In affected version a vulnerability has been discovered in the core HTML processing module and may affect all plugins used by CKEditor 4. The vulnerability allowed to inject malformed comments HTML bypassing content sanitization, which could result in executing JavaScript code. It affects all users using the CKEditor 4 at version < 4.17.0. The problem has been recognized and patched. The fix will be available in version 4.17.0.

Record
EUVD-2021-2315
CVSS 3.1
8.2 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L
Updated
2026-11-03
GitHub AdvisoriesGHSA-7h26-63m7-qhf2 8.2

HTML comments vulnerability allowing to execute JavaScript code

Affected packages

The vulnerability has been discovered in the core HTML processing module and may affect all plugins used by CKEditor 4.

Impact

A potential vulnerability has been discovered in CKEditor 4 HTML processing core module. The vulnerability allowed to inject malformed comments HTML bypassing content sanitization, which could result in executing JavaScript code. It affects all users using the CKEditor 4 at version < 4.17.0.

Patches

The problem has been recognized and patched. The fix will be available in version 4.17.0.

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 William Bowling (wbowling) for recognizing and reporting this vulnerability.

Record
GHSA-7h26-63m7-qhf2
CVSS 3.1
8.2 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L
Weakness
CWE-79
Updated
2026-11-02
NVD 8.2

CKEditor4 is an open source WYSIWYG HTML editor. In affected version a vulnerability has been discovered in the core HTML processing module and may affect all plugins used by CKEditor 4. The vulnerability allowed to inject malformed comments HTML bypassing content sanitization, which could result in executing JavaScript code. It affects all users using the CKEditor 4 at version < 4.17.0. The problem has been recognized and patched. The fix will be available in version 4.17.0.

Record
CVE-2021-41165
CVSS 3.1
8.2 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L
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

CKEditor4 is an open source WYSIWYG HTML editor. In affected version a vulnerability has been discovered in the core HTML processing module and may affect all plugins used by CKEditor 4. The vulnerability allowed to inject malformed comments HTML bypassing content sanitization, which could result in executing JavaScript code. It affects all users using the CKEditor 4 at version < 4.17.0. The problem has been recognized and patched. The fix will be available in version 4.17.0.

Record
CVE-2021-41165
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-41165 5.4

CKEditor4 is an open source WYSIWYG HTML editor. In affected version a vulnerability has been discovered in the core HTML processing module and may affect all plugins used by CKEditor 4. The vulnerability allowed to inject malformed comments HTML bypassing content sanitization, which could result in executing JavaScript code. It affects all users using the CKEditor 4 at version < 4.17.0. The problem has been recognized and patched. The fix will be available in version 4.17.0.

Record
DEBIAN-CVE-2021-41165
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
OSVGHSA-7h26-63m7-qhf2 8.2

HTML comments vulnerability allowing to execute JavaScript code

Affected packages

The vulnerability has been discovered in the core HTML processing module and may affect all plugins used by CKEditor 4.

Impact

A potential vulnerability has been discovered in CKEditor 4 HTML processing core module. The vulnerability allowed to inject malformed comments HTML bypassing content sanitization, which could result in executing JavaScript code. It affects all users using the CKEditor 4 at version < 4.17.0.

Patches

The problem has been recognized and patched. The fix will be available in version 4.17.0.

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 William Bowling (wbowling) for recognizing and reporting this vulnerability.

Record
GHSA-7h26-63m7-qhf2
CVSS 3.1
8.2 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L
Weakness
CWE-79
Updated
2026-11-02
OSVUBUNTU-CVE-2021-41165 8.2

CKEditor4 is an open source WYSIWYG HTML editor. In affected version a vulnerability has been discovered in the core HTML processing module and may affect all plugins used by CKEditor 4. The vulnerability allowed to inject malformed comments HTML bypassing content sanitization, which could result in executing JavaScript code. It affects all users using the CKEditor 4 at version < 4.17.0. The problem has been recognized and patched. The fix will be available in version 4.17.0.

Record
UBUNTU-CVE-2021-41165
CVSS 3.1
8.2 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L
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
OSVBIT-drupal-2021-41165 No score

HTML comments vulnerability allowing to execute JavaScript code

CKEditor4 is an open source WYSIWYG HTML editor. In affected version a vulnerability has been discovered in the core HTML processing module and may affect all plugins used by CKEditor 4. The vulnerability allowed to inject malformed comments HTML bypassing content sanitization, which could result in executing JavaScript code. It affects all users using the CKEditor 4 at version < 4.17.0. The problem has been recognized and patched. The fix will be available in version 4.17.0.

Record
BIT-drupal-2021-41165
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
ckeditor4
npm
before 4.17.0
4.17.0
ckeditor/ckeditor
Packagist
before 4.17.0
4.17.0
drupal
Bitnami
8.9.0 up to 8.9.20, 9.1.0 up to 9.1.14, 9.2.0 up to 9.2.9
8.9.209.1.149.2.9
ckeditor
Debian:12
before 4.19.0+dfsg-1
4.19.0+dfsg-1
ckeditor3
Debian:12
All versions, plus listed versions
3.6.6.1+dfsg-7
None known
ckeditor/ckeditor
Packagist
before 4.17.0, plus listed versions
4.10.04.10.14.11.04.11.14.11.2
Show 45 moreShow less
4.11.34.11.44.12.04.12.14.13.04.13.14.14.04.14.14.15.04.15.14.16.04.16.14.16.24.3.34.3.44.3.54.4.04.4.14.4.24.4.34.4.44.4.54.4.64.4.74.4.84.5.04.5.14.5.104.5.114.5.24.5.34.5.44.5.54.5.64.5.74.5.84.5.94.6.04.6.14.6.24.7.04.7.14.7.24.7.34.8.0
4.17.0
ckeditor
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
4.4.4+dfsg1-34.5.6+dfsg-14.5.7+dfsg-14.5.7+dfsg-24.5.7+dfsg-2ubuntu0.16.04.1~esm14.5.7+dfsg-2ubuntu0.16.04.1~esm24.5.7+dfsg-2ubuntu0.16.04.1~esm3
None known
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:Pro:18.04:LTS
All versions, plus listed versions
4.5.7+dfsg-24.5.7+dfsg-2ubuntu0.18.04.14.5.7+dfsg-2ubuntu0.18.04.1+esm14.5.7+dfsg-2ubuntu0.18.04.1+esm2
None known
Show 18 moreShow less
Affected packages
PackageAffectedFixed
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
ckeditor
Ubuntu:Pro:20.04:LTS
All versions, plus listed versions
4.11.1+dfsg-14.12.1+dfsg-14.12.1+dfsg-1ubuntu0.14.12.1+dfsg-1ubuntu0.1+esm14.12.1+dfsg-1ubuntu0.1+esm2
None known
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
ckeditor
Ubuntu:Pro:22.04:LTS
All versions, plus listed versions
4.16.0+dfsg-24.16.2+dfsg-14.16.2+dfsg-1ubuntu0.1~esm14.16.2+dfsg-1ubuntu0.1~esm2
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

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-41165 is a high vulnerability (CVSS 8.2) in Ckeditor, published November 17, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.57%, the 75th percentile. Fixed in ckeditor4 4.17.0.

References

Show 6 moreShow less
This page doesn't list everything

Left out here: 3 versions. The JSON record has them.

MoveEnter Open