{"id":"GHSA-4fc4-4p5g-6w89","summary":"Cross-site Scripting in CKEditor4","details":"### Affected packages\nThe vulnerability has been discovered in the core HTML processing module and may affect all plugins used by CKEditor 4.\n\n### Impact\nA potential vulnerability has been discovered in CKEditor 4 HTML processing core module. The vulnerability allowed to inject malformed HTML bypassing content sanitization, which could result in executing JavaScript code. It affects all users using the CKEditor 4 at version \u003c 4.18.0.\n\n### Patches\nThe problem has been recognized and patched. The fix will be available in version 4.18.0.\n\n### For more information\nEmail us at security@cksource.com if you have any questions or comments about this advisory.\n\n### Acknowledgements\nThe CKEditor 4 team would like to thank GHSL team member Kevin Backhouse ([@kevinbackhouse](https://github.com/kevinbackhouse)) for recognizing and reporting this vulnerability.","aliases":["BIT-drupal-2022-24728","BIT-drupal-2022-24729","CVE-2022-24728","CVE-2022-24729","DRUPAL-CORE-2022-005","GHSA-f6rf-9m92-x2hh"],"modified":"2025-12-10T23:41:01.388999Z","published":"2022-03-16T22:47:55Z","database_specific":{"github_reviewed":true,"nvd_published_at":"2022-03-16T16:15:00Z","severity":"MODERATE","cwe_ids":["CWE-79"],"github_reviewed_at":"2022-03-16T22:47:55Z"},"references":[{"type":"WEB","url":"https://github.com/ckeditor/ckeditor4/security/advisories/GHSA-4fc4-4p5g-6w89"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24728"},{"type":"WEB","url":"https://github.com/ckeditor/ckeditor4/commit/d158413449692d920a778503502dcb22881bc949"},{"type":"WEB","url":"https://ckeditor.com/cke4/release/CKEditor-4.18.0"},{"type":"PACKAGE","url":"https://github.com/ckeditor/ckeditor4"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VR76VBN5GW5QUBJFHVXRX36UZ6YTCMW6"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WOZGMCYDB2OKKULFXZKM6V7JJW4ZZHJP"},{"type":"ADVISORY","url":"https://securitylab.github.com/advisories/GHSL-2022-009_ckeditor4"},{"type":"WEB","url":"https://www.drupal.org/sa-core-2022-005"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpujul2022.html"}],"affected":[{"package":{"name":"ckeditor4","ecosystem":"npm","purl":"pkg:npm/ckeditor4"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.18.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-4fc4-4p5g-6w89/GHSA-4fc4-4p5g-6w89.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}