CVE-2026-28343: @ckeditor/ckeditor5 html support Cross-Site Scripting Vulnerability

MODERATE
Advisory Identifier: GHSA-jrqm-vmqc-gm93
CVSS 6.4
CWE-79
Published
Advisory Summary

CVE-2026-28343 is a MODERATE (CVSS 6.4) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting @ckeditor/ckeditor5 html support libraries in the npm ecosystem. The issue involves ckeditor 5 has cross-site scripting (xss) in the html support package. Remediation is available by upgrading affected packages to version 47.6.0.

CVE-2026-28343 at a Glance

CVE Identifier CVE-2026-28343
GHSA Identifier GHSA-jrqm-vmqc-gm93
Severity MODERATE
CVSS v3.1 Base Score 6.4
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product @ckeditor/ckeditor5 html support
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 6.4

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2026-28343

To remediate this vulnerability, upgrade all affected @ckeditor/ckeditor5 html support dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

@ckeditor/ckeditor5-html-support fixed: 47.6.0
npm install @ckeditor/ckeditor5-html-support@47.6.0
ckeditor5 fixed: 47.6.0
npm install ckeditor5@47.6.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls @ckeditor/ckeditor5-html-support

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2026-28343, inspect your project dependencies using npm:

npm ls @ckeditor/ckeditor5-html-support

Analyze the terminal output to locate any version of @ckeditor/ckeditor5 html support in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 47.6.0), your application is affected.

Note: The npm ls @ckeditor/ckeditor5-html-support command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In @ckeditor/ckeditor5 html support, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact A Cross-Site Scripting (XSS) vulnerability has been discovered in the General HTML Support feature. This vulnerability could be triggered by inserting specially crafted markup, leading to unauthorized JavaScript code execution, if the editor instance used an unsafe General HTML Support configuration. This vulnerability affects only installations where the editor configuration meets the following criteria: * [General HTML Support](https://ckeditor.com/docs/ckeditor5/latest/features/html/general-html-support.html) is enabled, * General HTML Support configuration allows inserting unsafe markup (see [Security](https://ckeditor.com/docs/ckeditor5/latest/features/html/general-html-support.html#security) section to learn more). ### Patches The problem has been recognized and patched. The fix will be available in version 47.6.0 (and above). ### Workarounds CKEditor 5 recommends configuring General HTML Support securely to ensure that unsafe content is not accepted. Please refer to the [Security](https://ckeditor.com/docs/ckeditor5/latest/features/html/general-html-support.html#security) section for detailed guidance. ### Credits CKEditor 5 would like to thank: - Emilio Kevin - Jeongwoo Lee, Younsoung Kim, Minseok Kim and Jinyeong Kim from ENKI Whitehat for responsibly reporting this vulnerability. ### For more information Email us at [security@cksource.com](mailto:security@cksource.com) if you have any questions or comments about this advisory.

CVE-2026-28343 Affected @ckeditor/ckeditor5 html support Versions

2 component(s)
Fixed Versions:
47.6.0
Product / Package Ecosystem Affected Versions Fixed Version
@ckeditor/ckeditor5-html-support
npm
≥ 29.0.0
< 47.6.0
47.6.0
ckeditor5
npm
≥ 29.0.0
< 47.6.0
47.6.0

References

Frequently Asked Questions

What is CVE-2026-28343?
CVE-2026-28343 is a security vulnerability in @ckeditor/ckeditor5 html support involving CKEditor 5 has Cross-site Scripting (XSS) in the HTML Support package under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which @ckeditor/ckeditor5 html support versions are affected?
Affected versions include releases prior to 47.6.0 across affected packages: @ckeditor/ckeditor5-html-support, ckeditor5.
What version fixes CVE-2026-28343?
Upgrading to 47.6.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is @ckeditor/ckeditor5-html-support affected?
Yes, @ckeditor/ckeditor5-html-support is affected in releases prior to 47.6.0. Upgrade your dependency to 47.6.0 or later.
Is ckeditor5 affected?
Yes, ckeditor5 is affected in releases prior to 47.6.0. Upgrade your dependency to 47.6.0 or later.
What is the CVSS score of CVE-2026-28343?
CVE-2026-28343 has a CVSS v3.1 base score of 6.4 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N.
What CWE is associated with CVE-2026-28343?
CVE-2026-28343 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.).
How can I check npm dependencies for CVE-2026-28343?
Run the dependency tree command: 'npm ls @ckeditor/ckeditor5-html-support'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-jrqm-vmqc-gm93",
  "modified" : "2026-03-19T18:45:07Z",
  "published" : "2026-03-04T18:49:32Z",
  "aliases" : [ "CVE-2026-28343" ],
  "summary" : "CKEditor 5 has Cross-site Scripting (XSS) in the HTML Support package",
  "details" : "### Impact\nA Cross-Site Scripting (XSS) vulnerability has been discovered in the General HTML Support feature. This vulnerability could be triggered by inserting specially crafted markup, leading to unauthorized JavaScript code execution, if the editor instance used an unsafe General HTML Support configuration.\n\nThis vulnerability affects only installations where the editor configuration meets the following criteria:\n\n* [General HTML Support](https://ckeditor.com/docs/ckeditor5/latest/features/html/general-html-support.html) is enabled,\n* General HTML Support configuration allows inserting unsafe markup (see [Security](https://ckeditor.com/docs/ckeditor5/latest/features/html/general-html-support.html#security) section to learn more).\n\n### Patches\nThe problem has been recognized and patched. The fix will be available in version 47.6.0 (and above).\n\n### Workarounds\nCKEditor 5 recommends configuring General HTML Support securely to ensure that unsafe content is not accepted. Please refer to the [Security](https://ckeditor.com/docs/ckeditor5/latest/features/html/general-html-support.html#security) section for detailed guidance.\n\n### Credits\nCKEditor 5 would like to thank: \n- Emilio Kevin\n- Jeongwoo Lee, Younsoung Kim, Minseok Kim and Jinyeong Kim from ENKI Whitehat\n\nfor responsibly reporting this vulnerability.\n\n### For more information\nEmail us at [security@cksource.com](mailto:security@cksource.com) if you have any questions or comments about this advisory.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@ckeditor/ckeditor5-html-support"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "29.0.0"
      }, {
        "fixed" : "47.6.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "ckeditor5"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "29.0.0"
      }, {
        "fixed" : "47.6.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/ckeditor/ckeditor5/security/advisories/GHSA-jrqm-vmqc-gm93"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-28343"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ckeditor/ckeditor5"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ckeditor/ckeditor5/releases/tag/v29.0.0"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ckeditor/ckeditor5/releases/tag/v47.6.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-03-04T18:49:32Z",
    "nvd_published_at" : "2026-03-05T20:16:16Z"
  }
}