The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2022-24728

CVE-2022-24728: CKEditor4 XSS Vulnerability

CVE-2022-24728 is a cross-site scripting flaw in CKEditor4 that allows attackers to inject malicious JavaScript through malformed HTML. This article covers the technical details, affected versions, and mitigation steps.

Published: February 18, 2026

CVE-2022-24728 Overview

CVE-2022-24728 is a Cross-Site Scripting (XSS) vulnerability discovered in CKEditor4, a widely-used open source WYSIWYG HTML editor. The vulnerability exists in the core HTML processing module and affects all plugins used by CKEditor 4 prior to version 4.18.0. An attacker can inject malformed HTML that bypasses content sanitization mechanisms, enabling the execution of arbitrary JavaScript code in the context of a victim's browser session.

This vulnerability is particularly significant due to CKEditor4's extensive deployment across content management systems, web applications, and enterprise platforms including Drupal, Oracle Application Express, and various Oracle Financial Services products.

Critical Impact

Successful exploitation allows attackers to execute arbitrary JavaScript code in user browsers, potentially leading to session hijacking, credential theft, defacement, or further malware distribution through affected web applications.

Affected Products

  • CKEditor versions prior to 4.18.0
  • Drupal Core (multiple versions)
  • Oracle Application Express
  • Oracle Commerce Merchandising 11.3.2
  • Oracle Financial Services Analytical Applications Infrastructure (versions 8.0.7.0 through 8.1.2.1)
  • Oracle Financial Services Behavior Detection Platform (versions 8.0.7.0 and 8.0.8.0)
  • Oracle Financial Services Trade-Based Anti Money Laundering (8.0.7 and 8.0.8 Enterprise)
  • Oracle PeopleSoft Enterprise PeopleTools (8.58 and 8.59)
  • Fedora Project Fedora (36 and 37)

Discovery Timeline

  • March 16, 2022 - CVE-2022-24728 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2022-24728

Vulnerability Analysis

The vulnerability resides in CKEditor4's core HTML processing module, which is responsible for parsing and sanitizing user-supplied HTML content before rendering it in the editor. Due to improper handling of malformed HTML input, the sanitization routines fail to adequately neutralize certain payloads, allowing crafted HTML to pass through unfiltered.

This vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation), commonly known as Cross-Site Scripting. The flaw affects all plugins that rely on the core HTML processing functionality, significantly expanding the attack surface across various CKEditor features.

The network-accessible nature of web-based editors means that authenticated users with low privileges can potentially inject malicious content. When other users interact with this content, their browsers execute the injected JavaScript, enabling attackers to perform actions on behalf of victims or steal sensitive session data.

Root Cause

The root cause of CVE-2022-24728 lies in insufficient input validation and sanitization within CKEditor4's HTML processing pipeline. The core module fails to properly handle edge cases involving malformed HTML structures, allowing specially crafted payloads to bypass the content sanitization filters. This incomplete sanitization enables script elements or event handlers embedded in malformed HTML to persist through the processing chain and execute when rendered in a user's browser.

Attack Vector

The attack is network-based and requires an authenticated user to submit malicious content through the CKEditor interface. The attacker crafts HTML that exploits parsing inconsistencies in the sanitization module, embedding JavaScript that survives the filtering process.

When a victim views or interacts with the compromised content, the malicious script executes within their browser context. This enables various attack scenarios including:

  • Session token theft and account hijacking
  • Keylogging and credential harvesting
  • Phishing through DOM manipulation
  • Propagation of malicious content to additional users

The attack requires user interaction—specifically, the victim must view or interact with content containing the malicious payload. The changed scope characteristic means the vulnerability can impact resources beyond the vulnerable component's security scope, potentially affecting the broader web application hosting CKEditor.

Detection Methods for CVE-2022-24728

Indicators of Compromise

  • Unusual HTML content patterns in CKEditor submissions, particularly malformed HTML structures with embedded script tags or event handlers
  • JavaScript execution errors or unexpected script activity when users interact with editor content
  • Anomalous network requests originating from pages containing CKEditor components to unknown external domains
  • User reports of unexpected browser behavior or authentication issues after interacting with editor content

Detection Strategies

  • Monitor web application logs for submissions containing suspicious HTML patterns or script injection attempts to CKEditor endpoints
  • Implement Content Security Policy (CSP) headers to detect and report inline script execution attempts
  • Deploy web application firewalls (WAF) with rules targeting XSS payloads in form submissions
  • Conduct regular vulnerability scanning to identify outdated CKEditor installations

Monitoring Recommendations

  • Enable logging for all content submissions through CKEditor interfaces with sufficient detail to capture HTML payloads
  • Configure browser-based CSP reporting to capture violation events indicating potential XSS exploitation
  • Monitor for suspicious DOM modifications or unexpected script execution patterns in user sessions
  • Track authentication events for signs of session hijacking following user interaction with editor content

How to Mitigate CVE-2022-24728

Immediate Actions Required

  • Upgrade CKEditor4 to version 4.18.0 or later immediately across all affected deployments
  • For Drupal installations, apply the security update referenced in Drupal Security Advisory SA-CORE-2022-005
  • Oracle product users should apply the patches outlined in the Oracle Critical Patch Update July 2022
  • Implement Content Security Policy headers to provide defense-in-depth against XSS attacks

Patch Information

CKEditor has released version 4.18.0 which addresses this vulnerability with improved HTML sanitization in the core processing module. The specific fix can be reviewed in commit d158413449692d920a778503502dcb22881bc949.

Organizations using CKEditor as a component in larger platforms should ensure updates are applied through the appropriate channels:

  • Drupal: Apply updates as documented in SA-CORE-2022-005
  • Oracle Products: Follow guidance in the Oracle Security Alert July 2022
  • Fedora: Update packages via official Fedora repositories

For complete details on the 4.18.0 release, refer to the CKEditor 4.18.0 Release Notes.

Workarounds

  • According to the security advisory, there are currently no known workarounds available for this vulnerability
  • Organizations unable to immediately patch should implement strict Content Security Policy headers to limit script execution
  • Consider temporarily disabling CKEditor functionality in high-risk environments until patching can be completed
  • Implement additional input validation at the application layer as a supplementary control
bash
# Example Content Security Policy header configuration (Apache)
# Add to .htaccess or virtual host configuration
Header set Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; frame-ancestors 'self';"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechCkeditor

  • SeverityMEDIUM

  • CVSS Score5.4

  • EPSS Probability0.75%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Security Advisory GHSA-4fc4

  • Fedora Package Announcement

  • Fedora Package Announcement
  • Vendor Resources
  • CKEditor 4.18.0 Release

  • CKEditor Commit d158413

  • Drupal Security Advisory SA-CORE-2022-005

  • Oracle Security Alert July 2022
  • Related CVEs
  • CVE-2026-28343: CKEditor 5 XSS Vulnerability

  • CVE-2023-4771: CKSource CKEditor XSS Vulnerability

  • CVE-2023-28439: CKEditor4 XSS Vulnerability

  • CVE-2021-41165: CKEditor4 XSS Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English