Skip to content
OpenAdvisories
Medium · 6.1 Public exploit CVE-2024-24816 EUVD-2024-0677GHSA-mw2c-vx6j-mg76

Cross-site scripting (XSS) vulnerability in samples with enabled the preview feature

Published Feb 7, 2024 · Updated Aug 1, 2024 · Assigned by GitHub_M

Description

CKEditor4 is an open source what-you-see-is-what-you-get HTML editor. A cross-site scripting vulnerability vulnerability has been discovered in versions prior to 4.24.0-lts in samples that use the `preview` feature. All integrators that use these samples in the production code can be affected. The vulnerability allows an attacker to execute JavaScript code by abusing the misconfigured preview feature. It affects all users using the CKEditor 4 at version < 4.24.0-lts with affected samples used in a production environment. A fix is available in version 4.24.0-lts.

Affected products

VendorProductAffectedFixed
ckeditor ckeditor4 < 4.24.0-lts —

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 +1 No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS request-tracker4 +1 No fix yet —
Ubuntu 25.10 ckeditor +2 No fix yet —
Ubuntu 24.04 LTS ckeditor3 +2 No fix yet —
Ubuntu 22.04 LTS ckeditor3 +2 No fix yet —
Ubuntu 20.04 LTS ckeditor3 +2 No fix yet —
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS ckeditor3 +1 No fix yet —
Ubuntu 16.04 LTS request-tracker4 +1 No fix yet —
Ubuntu Pro 24.04 LTS ckeditor 4.22.1+dfsg1-2ubuntu0.24.04.1~esm1 USN-7258-1
Ubuntu Pro 22.04 LTS ckeditor 4.16.2+dfsg-1ubuntu0.1~esm1 USN-7258-1
Ubuntu Pro 20.04 LTS ckeditor 4.12.1+dfsg-1ubuntu0.1+esm1 USN-7258-1
Ubuntu Pro 18.04 LTS ckeditor 4.5.7+dfsg-2ubuntu0.18.04.1+esm1 USN-7258-1
Ubuntu Pro 18.04 LTS request-tracker4 No fix yet —
Ubuntu Pro 16.04 LTS ckeditor 4.5.7+dfsg-2ubuntu0.16.04.1~esm2 USN-7258-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

  • afine-com/CVE-2024-24816 ★ 2 · Feb 10, 2024

    CKEditor 4 < 4.24.0-lts - XSS vulnerability in samples that use the "preview" feature.

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
npm ckeditor4 < 4.24.0-lts 4.24.0-lts GHSA-mw2c-vx6j-mg76

Advisories 4

References