Drupal Security Advisory
DRUPAL-CONTRIB-2026-299
Details
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 endpoint, leading to a reflected cross-site scripting (XSS) vulnerability.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist:https://packages.drupal.org/8 | drupal/highlight_js | All versions before 1.3.1 (fixed in 1.3.1) |