Vulnerability in CKEditor4 HTML Processing Module

ckeditor Updated 02 Oct 2025

Summary

16/03/2022
N/A
No i
Medium
5.4

CVE-2022-24728: CKEditor4 is an open source what-you-see-is-what-you-get HTML editor. Affects ckeditor across 3 version ranges.

>= 35c2f3ca5c935f3d8bde15932a712677c9bbd50f, < b68374146298b7277939e9c3208ab0518ff78d1a >= 870a561110a23435d78eda377400dca7f64d3bd3, < f7491490d73ee475b1aa4460c2449a148cb41ad1 < d158413449692d920a778503502dcb22881bc949

No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

CKEditor4 is an open source what-you-see-is-what-you-get HTML editor. It is widely used for creating and editing HTML content in various web applications. The CKEditor4 core HTML processing module is responsible for parsing and rendering HTML input. However, a vulnerability has been discovered in this module, affecting all plugins used by CKEditor4 versions prior to 4.18.0.

Vulnerability Detail

The vulnerability allows an attacker to inject malformed HTML that bypasses content sanitization. This can lead to the execution of arbitrary JavaScript code. The issue has been patched in CKEditor4 version 4.18.0. The vulnerability poses a moderate risk, with a CVSS score of 5.4. It is important to update to the latest version to mitigate the risk of exploitation.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There are currently no known workarounds for this vulnerability. It is crucial to apply the patch by upgrading to the latest version.

Conclusion

The vulnerability in the CKEditor4 HTML processing module allows for the injection of malformed HTML, bypassing content sanitization and potentially executing JavaScript code. It is crucial to upgrade to CKEditor4 version 4.18.0 or later to mitigate the risk of exploitation. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for ckeditor →

Share this vulnerability

FAQ

CKEditor4 is an open source HTML editor used for creating and editing HTML content in web applications.

The vulnerability allows an attacker to inject malicious HTML code, potentially leading to the execution of arbitrary JavaScript code.

To fix this vulnerability, you need to upgrade CKEditor4 to version 4.18.0 or later.

No, there are currently no known workarounds for this vulnerability.

You can find more information about this vulnerability in the CVE-2022-24728 entry on the Vulert vulnerability database (https://vulert.com/CVE-2022-24728).

Related vulnerabilities

Recent vulnerabilities recorded for ckeditor.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback