CVE-2026-122080: The htmLawed module enables use of the [htmLawed](https://bioinformatics.org/phplabware/internal_utilities/htmLawed/index.php) PHP library as a filter in a Text Format for restrict
Published 2026-11-04 · Updated 2026-11-04 · Also known as DRUPAL-CONTRIB-2026-314
Summary
The htmLawed module for Drupal contains a cross-site scripting (XSS) vulnerability caused by bypassing HTML filtering using malformed UTF-8 characters. Administrators of sites running an SQLite database with an affected version of the htmLawed library should take action.
Who is affected
Sites using an SQLite database are affected when utilizing versions of the htmLawed library prior to 1.2.17. Attackers can leverage malformed UTF-8 characters to bypass the module's malicious HTML filtering and achieve cross-site scripting (XSS).
Exploitability
The CVSS vector, base score, and EPSS are not provided, and CISA KEV active exploitation status is no. No exploit code or attack chain details are documented beyond the bypass mechanism using malformed UTF-8 characters.
Remediation
- Update the htmLawed library to version 1.2.17 or later.
- Verify that your deployment is not using an SQLite database if the library cannot be immediately updated.
How to check your project
- Check the project's codebase or dependency configuration to determine if the htmLawed module and a vulnerable version of the htmLawed PHP library are in use.
- Verify whether the application deployment utilizes an SQLite database.
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
What causes the vulnerability in the htmLawed module?
The vulnerability is caused by the module's filtering of malicious HTML being bypassed through the use of a malformed UTF-8 character.
Which database configurations are affected?
Only sites using an SQLite database are affected when running versions of the htmLawed library prior to 1.2.17.
Is there a fixed version available for the htmLawed library?
Yes, versions prior to 1.2.17 are affected, meaning version 1.2.17 addresses the issue.
Original advisory description
References
Source records: DRUPAL-CONTRIB-2026-314 (OSV.dev) · EPSS by FIRST, 2026-11-27.