Vulnerability advisory

CVE-2024-24815

CKEditor4 Cross-site scripting (XSS) vulnerability caused by incorrect CDATA detection

Published Updated OSV record ↗

Also known as GHSA-fq6h-4g8v-qqvm

Severity
  • CVSS 3.xCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected versions

Repository

Affected commitsFixed by commit
GIT github.com/ckeditor/ckeditor4 ↗
769d96134bcf29f5d3d870e25797ce9b9dc8289e to before d9ccba34d186be696f1322a0fde29660b1840279d9ccba34d186be696f1322a0fde29660b1840279
Not specified8ed1a3c93d0ae5f49f4ecff5738ab8a2972194cb
GIT github.com/ckeditor/ckeditor4-releases ↗
870a561110a23435d78eda377400dca7f64d3bd3 to before 84dd70230eb0f2a3c479a0e63aaa5fa108b3293d84dd70230eb0f2a3c479a0e63aaa5fa108b3293d
Also listed as affected (117)
  • 4.23.0-lts
  • 4.22.1
  • 4.22.0
  • 4.21.0
  • 4.20.2
  • 4.20.1
  • 4.20.0
  • 4.19.1
  • 4.19.0
  • 4.18.0
  • 4.17.2
  • 4.17.1
  • 4.17.0
  • 4.16.0
  • 4.15.0
  • 4.14.0
  • 4.13.0
  • 4.12.0
  • 4.10.0
  • 4.8.0
  • 4.7.0
  • 4.6.0
  • 4.5.0
  • 4.5.0-beta
  • 4.4.1
  • 4.4.0
  • 4.2.3
  • 4.2.2
  • 4.2.1
  • 4.2.0
  • 4.2
  • 4.1.0
  • 4.1
  • 4.1rc
  • 4.0.1
  • 4.0.0
  • 4.0
  • standard/4.23.0-lts
  • standard/4.22.1
  • standard/4.22.0
  • standard/4.21.0
  • standard/4.20.2
  • standard/4.20.1
  • standard/4.20.0
  • standard/4.19.1
  • standard/4.19.0
  • standard/4.18.0
  • standard/4.17.2
  • standard/4.17.1
  • standard/4.17.0
  • standard/4.16.2
  • standard/4.16.1
  • standard/4.16.0
  • standard/4.15.1
  • standard/4.15.0
  • standard/4.14.1
  • standard/4.14.0
  • standard/4.13.1
  • standard/4.13.0
  • standard/4.12.1
  • standard/4.12.0
  • standard/4.11.4
  • standard/4.11.3
  • standard/4.11.2
  • standard/4.11.1
  • standard/4.11.0
  • standard/4.10.1
  • standard/4.10.0
  • standard/4.9.2
  • standard/4.9.1
  • standard/4.9.0
  • standard/4.8.0
  • standard/4.7.3
  • standard/4.7.2
  • standard/4.7.1
  • standard/4.7.0
  • standard/4.6.2
  • standard/4.6.1
  • standard/4.6.0
  • standard/4.5.11
  • standard/4.5.10
  • standard/4.5.9
  • standard/4.5.8
  • standard/4.5.7
  • standard/4.5.6
  • standard/4.5.5
  • standard/4.5.4
  • standard/4.5.3
  • standard/4.5.2
  • standard/4.5.1
  • standard/4.5.0
  • standard/4.4.8
  • standard/4.4.7
  • standard/4.4.6
  • standard/4.4.5
  • standard/4.4.4
  • standard/4.4.3
  • standard/4.4.2
  • standard/4.4.1
  • standard/4.4.0
  • standard/4.3.5
  • standard/4.3.4
  • standard/4.3.3
  • 4.3.2/standard
  • 4.3.1/standard
  • 4.3.0/standard
  • 4.2.3/standard
  • 4.2.2/standard
  • 4.2.1/standard
  • 4.2/standard
  • 4.1.3/standard
  • 4.1.2/standard
  • 4.1.1/standard
  • 4.1/standard
  • 4.1rc/standard
  • 4.0.1/standard
  • 4.0/standard

Description

CKEditor4 is an open source what-you-see-is-what-you-get HTML editor. A cross-site scripting vulnerability has been discovered in the core HTML parsing module in versions of CKEditor4 prior to 4.24.0-lts. It may affect all editor instances that enabled full-page editing mode or enabled CDATA elements in Advanced Content Filtering configuration (defaults to script and style elements). The vulnerability allows attackers to inject malformed HTML content bypassing Advanced Content Filtering mechanism, which could result in executing JavaScript code. An attacker could abuse faulty CDATA content detection and use it to prepare an intentional attack on the editor. A fix is available in version 4.24.0-lts.

References

  • Codex
  • Claude Code
  • VS Code
  • GitHub Copilot
  • Cursor
  • Cline
  • Windsurf
  • Google Anti-gravity
  • OpenCode
  • Pi
  • Gemini CLI
  • Hermes Agent
  • Zed
  • Junie
  • Qwen Code
  • Kiro
  • Kilo Code
  • Factory Droid

Set up GitHits for your agents

Run this command:

<> bash
npx githits@latest init

What happens next:

  1. Opens your browser to authorize GitHits
  2. Asks whether to set up GitHits at the user or project level
  3. Detects your supported AI coding tools
  4. Lets you choose which tools to configure
  5. Configures the selected tools