Skip to content
OpenAdvisories
Unscored CVE-2026-122079 DRUPAL-CONTRIB-2026-315

The htmLawed module enables use of the [htmLawed](https://bioinformatics.org/phplabware/internal_utilities/htmLawed/index.php "htmLawed web…

Published Nov 4, 2026 · Updated Nov 4, 2026 · Assigned by DRUPAL

Description

The htmLawed module enables use of the [htmLawed](https://bioinformatics.org/phplabware/internal_utilities/htmLawed/index.php "htmLawed website") PHP library as a filter in a Text Format for restriction/filtering of HTML in textual input.

The htmLawed filter does not sufficiently filter attributes, leading to a cross-site scripting (XSS) vulnerability.

This vulnerability affects sites on Drupal core > 11.2 or any version of core with the HTMX library.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist drupal/htmlawed >= 4.1.0, < 4.1.11 4.1.11 DRUPAL-CONTRIB-2026-315

Advisories 1

References