{"id":"CVE-2024-24816","published":"2024-02-07T16:58:24Z","modified":"2024-08-01T23:28:12Z","title":"Cross-site scripting (XSS) vulnerability in samples with enabled the preview feature","vendor":"ckeditor","product":"ckeditor4","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01652,"percentile":0.77149,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/ckeditor/ckeditor4/security/advisories/GHSA-mw2c-vx6j-mg76","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ckeditor/ckeditor4/commit/8ed1a3c93d0ae5f49f4ecff5738ab8a2972194cb","tags":["x_refsource_MISC"]},{"url":"https://ckeditor.com/cke4/addon/preview","tags":["x_refsource_MISC"]}],"priority":{"score":24.7,"factors":[{"name":"EPSS percentile","points":15.43},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.27}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2024-02-10","earliestUrl":"https://github.com/afine-com/CVE-2024-24816","repos":[{"name":"afine-com/CVE-2024-24816","url":"https://github.com/afine-com/CVE-2024-24816","stars":2,"created":"2024-02-10"}]},"first":{"date":"2024-02-10","source":"PoC-in-GitHub","url":"https://github.com/afine-com/CVE-2024-24816"},"provenance":"source"},"vendorSlug":"ckeditor","affectedVersions":[{"vendor":"ckeditor","product":"ckeditor4","versions":["< 4.24.0-lts"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-02-21T20:41:03.498820Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"ckeditor4","vulnerableRanges":["<4.24.0-lts"],"patched":["4.24.0-lts"],"from":["GHSA-mw2c-vx6j-mg76"],"provenance":"source"}],"summary":{"text":"The vulnerability is a cross-site scripting flaw in the sample pages of CKEditor 4 (product ckeditor4, from the ckeditor vendor) that enable the preview feature, affecting versions prior to 4.24.0-lts. An attacker can execute JavaScript by abusing the misconfigured preview feature over the network with no privileges required, but it requires user interaction, and it only affects integrators who deploy the affected samples in production code.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T15:02:05Z"},"euvd":{"id":"EUVD-2024-0677","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-24728","published":"2022-03-16","fixed":"4.18.0","kev":false,"link":{"from":"CVE-2022-24728","to":"CVE-2024-24816","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:ckeditor4","fromFixed":"4.18.0","toFixed":"4.24.0-lts","daysApart":693}]}},{"cve":"CVE-2023-4771","published":"2023-11-16","fixed":"4.24.0-lts","kev":false},{"cve":"CVE-2024-24815","published":"2024-02-07","fixed":"4.24.0-lts","kev":false},{"cve":"CVE-2024-24816","published":"2024-02-07","fixed":"4.24.0-lts","kev":false},{"cve":"CVE-2024-43407","published":"2024-08-21","fixed":"4.25.0","kev":false},{"cve":"CVE-2024-43411","published":"2024-08-21","fixed":"4.25.0","kev":false}],"package":"npm:ckeditor4"}}