Vulnerability · Published Nov 17, 2021 · Assigned by GitHub_M

CVE-2021-41165HTML comments vulnerability allowing to execute JavaScript code

High 8.2

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.6% (higher than 76% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.2High
Exploit odds (30 days)1.6%top 24.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12ckeditor4.19.0+dfsg-1DEBIAN-CVE-2021-41165
Debian:12ckeditor3no fix listedDEBIAN-CVE-2021-41165
Packagistckeditor/ckeditor4.17.0GHSA-7h26-63m7-qhf2
Ubuntu:22.04:LTSckeditor3no fix listedUBUNTU-CVE-2021-41165
Ubuntu:24.04:LTSckeditor3no fix listedUBUNTU-CVE-2021-41165
Ubuntu:22.04:LTSldap-account-managerno fix listedUBUNTU-CVE-2021-41165
Ubuntu:24.04:LTSldap-account-managerno fix listedUBUNTU-CVE-2021-41165
Ubuntu:25.10ldap-account-managerno fix listedUBUNTU-CVE-2021-41165
Ubuntu:26.04:LTSldap-account-managerno fix listedUBUNTU-CVE-2021-41165
Ubuntu:22.04:LTSrequest-tracker4no fix listedUBUNTU-CVE-2021-41165
Ubuntu:24.04:LTSrequest-tracker4no fix listedUBUNTU-CVE-2021-41165
Ubuntu:25.10request-tracker4no fix listedUBUNTU-CVE-2021-41165
Ubuntu:26.04:LTSrequest-tracker4no fix listedUBUNTU-CVE-2021-41165
npmckeditor44.17.0GHSA-7h26-63m7-qhf2

Affected products (as reported)

VendorProductVersions
ckeditor ckeditor4 < 4.17.0

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L

References