CVE Watchtower

CVE-2026-122079htmLawed

Drupal

Vulnerability Summary

The htmLawed module enables use of the htmLawed 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.
Severity Level
MEDIUM
Published Date
Nov 4, 2026
Last Modified
Nov 4, 2026
Exploitation Status
No confirmed exploitation yet
CVE Record Status
Reserved
This CVE ID is referenced in a public advisory, but the CVE Program has not published its official CVE Record yet. Full CVSS/CPE data from NVD will appear here once it does.
Root Weakness (CWE)
N/A

Affected & Patched Versions

Affected Versions
  • htmLawed >=4.1.0 <4.1.11
Patched Versions
  • If you use version 4.1.x, upgrade to 4.1.11. 8.x-3.x versions are not affected. Review configuration and update: For Text Formats that use the htmLawed filter, check that the filter's Config. setting includes data-hx-* for the deny_attribute parameter. E.g.: 'safe'=>1, 'elements'=>'a, em, strong, cite, code, ol, ul, li, dl, dt, dd', 'deny_attribute'=>'data-hx-*, id, style'

What to do

Fix it during your normal patch cycle. No exploitation is confirmed yet.

  1. Check whether you run htmLawed and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Nov 4, 2026Published
  • Nov 4, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new htmLawed CVEsYou are reading CVE-2026-122079. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

More htmLawed CVEs

External References

Data last checked: Nov 18, 2026 23:01 UTC