CVE-2026-122080htmLawed
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 module's filtering of malicious HTML can be bypassed by using a malformed UTF8 character, leading to a cross-site scripting (XSS) vulnerability.
Only sites using an SQLite database are affected with versions of the htmLawed library prior to 1.2.17.
The module's filtering of malicious HTML can be bypassed by using a malformed UTF8 character, leading to a cross-site scripting (XSS) vulnerability.
Only sites using an SQLite database are affected with versions of the htmLawed library prior to 1.2.17.
Affected & Patched Versions
- htmLawed >=3.0.0 <3.9.0 || >=4.0.0 <4.1.8
- If you use version 4.1.x, upgrade to 4.1.11 (was fixed in 4.1.8).
- If you use version 8.x-3.x, upgrade to 8.x-3.10 (was fixed in 8.x-3.9). Alternately, replace the htmLawed.php and htmLawed_README.htm files in the module directory with new downloads for htmLawed library version >= 1.2.17.
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run htmLawed and which version.
- 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-122080. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsMore htmLawed CVEs
External References
Data last checked: Nov 18, 2026 23:01 UTC