SEVERITY NOT PROVIDED EPSS 0.3% · 13th percentile

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

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

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

References

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