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
- No fixed version is published for this vulnerability at this time.
- Monitor official Drupal security advisories for patches addressing this specific htmLawed module flaw.
How to check your project
- Check the Drupal modules directory for the presence of the htmLawed module.
- Verify the Drupal core version and check for the inclusion of the HTMX library within the site's codebase or dependencies.
Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|
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
References
Source records: DRUPAL-CONTRIB-2026-315 (OSV.dev) · EPSS by FIRST, 2026-11-27.