Skip to content
OpenAdvisories
High · 7.6 CVE-2021-32808 EUVD-2021-1585GHSA-6226-h7ff-ch6c

Cross-site scripting in ckeditor via abuse of undo functionality

Published Aug 12, 2021 · Updated Aug 3, 2024 · Assigned by GitHub_M

Description

ckeditor is an open source WYSIWYG HTML editor with rich content support. A vulnerability has been discovered in the clipboard Widget plugin if used alongside the undo feature. The vulnerability allows a user to abuse undo functionality using malformed widget HTML, which could result in executing JavaScript code. It affects all users using the CKEditor 4 plugins listed above at version >= 4.13.0. The problem has been recognized and patched. The fix will be available in version 4.16.2.

Affected products

VendorProductAffectedFixed
ckeditor ckeditor4 >= 4.13.0, < 4.16.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 12 ckeditor 4.16.2+dfsg-1 —
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS ckeditor 4.12.1+dfsg-1ubuntu0.1 USN-5340-1
Ubuntu 18.04 LTS ckeditor 4.5.7+dfsg-2ubuntu0.18.04.1 USN-5340-1

Affected packages

EcosystemPackageAffectedFixedRecord
npm ckeditor4 >= 4.13.0, < 4.16.2 4.16.2 GHSA-6226-h7ff-ch6c

Advisories 1

References