ADVISORIES

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

EcosystemPackageAffected versions
Packagist:https://packages.drupal.org/8drupal/highlight_js
All versions before 1.3.1 (fixed in 1.3.1)

References