DRUPAL-CONTRIB-2026-299: XSS

Published Nov 4, 2026
·
Updated

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 Software

1 affected componentFixes available
composer/drupal/highlight_js<1.3.1
1.3.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/drupal/highlight_js to a version that resolves this vulnerability.

    Fixed in 1.3.1

Event History

Nov 4, 2026
Advisory Published
via OSV·05:32 PM
Data Sourced
via OSV·05:32 PM
DescriptionAffected Software

Frequently Asked Questions

1

What must an attacker be able to do to exploit this issue?

An attacker needs to supply crafted input to the module's CKEditor 5 preview endpoint. The insufficient validation can cause attacker-controlled script to be reflected in the response.

2

Which deployments are exposed?

Deployments using the composer/drupal/highlight_js module and its CKEditor 5 preview endpoint are potentially exposed. The provided information does not state whether any particular configuration or permission setup is required.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203