Skip to content
Fencer Intel
high 8.2

CVE-2021-41165 json

HTML comments vulnerability allowing to execute JavaScript code

published 4y ago modified last mo. also BIT-drupal-2021-41165 , EUVD-2021-2315 , GHSA-7h26-63m7-qhf2

cvss
8.2
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.6%
EPSS 1.6% chance of exploitation in 30 days, percentile 75%
public exploits
0
none known

Summary

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.

Patch / fix

  • npm ckeditor4 4.17.0
  • packagist ckeditor/ckeditor 4.17.0
  • bitnami drupal 8.9.20, 9.1.14, 9.2.9
  • ckeditor ckeditor 4.17.0
  • drupal drupal 8.9.20, 9.1.14, 9.2.9
  • oracle application_express 22.1
  • ckeditor Debian 12 4.19.0+dfsg-1

debian advisories DEBIAN-CVE-2021-41165

  • drupal Arch Linux 9.2.9-1

arch linux advisories AVG-2565

Is CVE-2021-41165 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Exploit prediction

1.57% chance of exploitation in the next 30 days, higher than 75% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
CNA 3.1 8.2 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L
GitHub 3.1 8.2 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L
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
OSV 3.1 8.2 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L

Affected packages

ecosystem package affected fixed in
npm ckeditor4
<4.17.0
4.17.0
packagist ckeditor/ckeditor
<4.17.0
4.17.0
bitnami drupal
>=8.9.0, <8.9.20
>=9.1.0, <9.1.14
>=9.2.0, <9.2.9
8.9.20
9.1.14
9.2.9

Affected products

  • ckeditor ckeditor4

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

Sources

Fencer Intel 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.