{"id":"GHSA-mw2c-vx6j-mg76","revision":"4047229a828c4b63b3834307372ce5b9","records":[{"revision":"4047229a828c4b63b3834307372ce5b9","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-mw2c-vx6j-mg76","aliases":["CVE-2024-24816"],"title":"CKEditor4 Cross-site Scripting vulnerability in samples with enabled the preview feature","description":"### Affected packages\nThe vulnerability has been discovered in the samples that use the [preview](https://ckeditor.com/cke4/addon/preview) feature:\n\n* `samples/old/**/*.html`\n* `plugins/[plugin name]/samples/**/*.html`\n\nAll integrators that use these samples in the production code can be affected.\n\n### Impact\n\nA 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](https://ckeditor.com/cke4/addon/preview). It affects all users using the CKEditor 4 at version < 4.24.0-lts with affected samples used in a production environment.\n\n### Patches\nThe problem has been recognized and patched. The fix will be available in version 4.24.0-lts.\n\n### For more information\nEmail us at [security@cksource.com](mailto:security@cksource.com) if you have any questions or comments about this advisory.\n\n### Acknowledgements\nThe CKEditor 4 team would like to thank [Marcin Wyczechowski](https://www.linkedin.com/in/marcin-wyczechowski-0a823795/) & [Michał Majchrowicz](https://www.linkedin.com/in/micha%C5%82-majchrowicz-mwsc/) [AFINE Team](https://afine.com/) for recognizing and reporting this vulnerability.","state":0,"publishedAt":"2024-02-07T17:31:34+00:00","modifiedAt":"2026-09-10T03:50:06.3706541+00:00","affected":[{"ecosystem":"npm","name":"ckeditor4","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"4.24.0-lts"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/ckeditor/ckeditor4/security/advisories/GHSA-mw2c-vx6j-mg76","https://nvd.nist.gov/vuln/detail/CVE-2024-24816","https://github.com/ckeditor/ckeditor4/commit/8ed1a3c93d0ae5f49f4ecff5738ab8a2972194cb","https://ckeditor.com/cke4/addon/preview","https://github.com/ckeditor/ckeditor4"],"sourceUrl":"https://github.com/advisories/GHSA-mw2c-vx6j-mg76","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-mw2c-vx6j-mg76","identifiers":["GHSA-mw2c-vx6j-mg76","CVE-2024-24816"]},"retained":false,"historicalAffected":[]}],"coverage":[]}