CVE-2026-122068: This module enables you to add syntax-highlighted code snippets to content using CKEditor 5. The module doesn't sufficiently validate input passed to its CKEditor 5 preview endpoin
Published 2026-11-04 · Updated 2026-11-04 · Also known as DRUPAL-CONTRIB-2026-299
Summary
The CKEditor 5 syntax highlighting module for Drupal contains a reflected cross-site scripting (XSS) vulnerability due to insufficient input validation. Drupal administrators and content editors using this module should act to mitigate potential script injection risks.
Who is affected
Affected deployments are those utilizing the module's CKEditor 5 preview endpoint to render syntax-highlighted code. An attacker can leverage this flaw to execute arbitrary JavaScript in the context of an authenticated user's session if they can trigger the reflected XSS. This impacts the integrity and confidentiality of the administrative or editing interface.
Exploitability
The exploitability remains unknown as no CVSS vector or EPSS score has been provided for this vulnerability. CISA KEV data confirms there is no evidence of active exploitation at this time.
Remediation
- Monitor official Drupal security advisories for a patched version of the module.
- No fixed version is published at this time.
How to check your project
- Check the project's composer.json or Drupal modules directory to identify if the syntax-highlighting module for CKEditor 5 is installed.
- Verify the installed module version against the Drupal security advisory portal.
Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|
FAQ
What kind of vulnerability is CVE-2026-122068?
It is a reflected cross-site scripting (XSS) vulnerability occurring within the CKEditor 5 preview endpoint.
Is this vulnerability actively being exploited?
No, it is not listed in the CISA Known Exploited Vulnerabilities catalog.
How can I fix this security issue?
No fixed version has been published; please monitor the module's update logs for future security releases.
Original advisory description
References
Source records: DRUPAL-CONTRIB-2026-299 (OSV.dev) · EPSS by FIRST, 2026-11-27.