CVE-2024-24816: Cross-site scripting (XSS) vulnerability in samples with enabled the preview feature

Published Feb 7, 2024
·
Updated

Affected packages The vulnerability has been discovered in the samples that use the preview feature:

samples/old//.html plugins/[plugin name]/samples//.html

All integrators that use these samples in the production code can be affected.

Impact

A potential vulnerability has been discovered in one of CKEditor's 4 samples that are shipped with production code. The vulnerability allowed 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.

Patches The problem has been recognized and patched. The fix will be available in version 4.24.0-lts.

For more information Email us at security@cksource.com if you have any questions or comments about this advisory.

Acknowledgements The CKEditor 4 team would like to thank Marcin Wyczechowski & Michał Majchrowicz AFINE Team for recognizing and reporting this vulnerability.

Other sources

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.

NVD

Affected Software

4 affected componentsFixes available
npm/ckeditor4<4.24.0-lts
4.24.0-lts
debian/ckeditor<=4.16.0+dfsg-2, <=4.19.1+dfsg-1, <=4.22.1+dfsg1-2
debian/ckeditor3<=3.6.6.1+dfsg-7
CKEditor CKEditor>=4.0<4.24.0

Event History

Feb 7, 2024
CVE Published
via MITRE·04:58 PM
Data Sourced
via MITRE·04:58 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·05:31 PM
Feb 6, 2025
Data Sourced
via Ubuntu·06:36 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·06:38 AM
DescriptionAffected Software
Data Sourced
via Launchpad·06:38 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-24816?

CVE-2024-24816 has a medium severity rating due to potential security compromises in applications using specific CKEditor 4 samples.

2

How do I fix CVE-2024-24816?

To fix CVE-2024-24816, upgrade CKEditor to version 4.24.0-lts or later.

3

What software versions are affected by CVE-2024-24816?

CVE-2024-24816 affects all CKEditor versions from 4.0 up to, but not including, 4.24.0.

4

Which CKEditor feature does CVE-2024-24816 impact?

CVE-2024-24816 impacts the preview feature in CKEditor 4 when using specific sample files.

5

Is there a specific package to update for CVE-2024-24816?

The specific package to update for CVE-2024-24816 is the ckeditor4 package.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203