SEVERITY NOT PROVIDED EPSS 0.3% · 13th percentile

CVE-2026-122079: 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

Published 2026-11-04 · Updated 2026-11-04 · Also known as DRUPAL-CONTRIB-2026-315

Summary

The htmLawed Drupal module fails to adequately filter HTML attributes, creating a cross-site scripting (XSS) vulnerability. Administrators of Drupal sites utilizing this module and either Drupal core version 11.2+ or the HTMX library should prioritize this issue.

Who is affected

This vulnerability affects Drupal sites that utilize the htmLawed module as an input filter. The flaw is specifically triggered in environments running Drupal core versions greater than 11.2 or any version of Drupal core that includes the HTMX library. Successful exploitation allows an attacker to execute arbitrary scripts in the context of an affected user's browser session.

Exploitability

The exploitability cannot be determined as the CVSS vector and base score are not provided. There is currently no EPSS data available, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog.

Remediation

How to check your project

Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade

FAQ

Is this vulnerability actively being exploited?

No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.

What is the primary security impact?

The flaw leads to a cross-site scripting (XSS) vulnerability due to insufficient filtering of HTML attributes.

What versions of the module are affected?

The affected versions are not specified in the provided documentation.

Original advisory 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.

References

Source records: DRUPAL-CONTRIB-2026-315 (OSV.dev) · EPSS by FIRST, 2026-11-27.