# CVE-2026-122080: Drupal htmLawed module cross-site scripting via malformed UTF-8

Source: https://junglewise.ai/threats/cve-2026-122080-drupal-contrib-2026-314-the-htmlawed-module-enables-use-of-the  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-11-04. Updated: 2026-11-06  
License: CC BY 4.0 with a link back

CVE-2026-122080 · Severity: info · Published 2026-11-04

The htmLawed Drupal module provides HTML filtering to prevent malicious content in user-submitted text. The module can be bypassed on sites using SQLite databases by submitting specially crafted UTF-8 characters, allowing attackers to inject and execute arbitrary JavaScript in the context of other users' browsers.

Vendors: [Drupal](https://junglewise.ai/threats/vendors/drupal), [Packagist:Https://Packages.Drupal.Org/8](https://junglewise.ai/threats/vendors/packagist-https-packages-drupal-org-8).

## Quick answers

**Is CVE-2026-122080 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-122080 being exploited in the wild.

**How severe is CVE-2026-122080?** Informational severity, published 4 November 2026.

**Which products and versions are affected?** Drupal htmLawed >=3.0.0 <3.9.0 or >=4.0.0 <4.1.8; Packagist:Https://Packages.Drupal.Org/8 Drupal/Htmlawed ECOSYSTEM:introduced=3.0.0,fixed=3.9.0|ECOSYSTEM:introduced=4.0.0,fixed=4.1.8; htmLawed prior to 1.2.17.

**Is there a fix for CVE-2026-122080?** Yes. Packagist:Https://Packages.Drupal.Org/8 Drupal/Htmlawed: upgrade to 3.9.0 or later. Until then: Replace the htmLawed.php and htmLawed_README.htm files in the module directory with downloads from htmLawed library version 1.2.17 or newer without waiting for a full module upgrade.</anigation>
<parameter name="timeline">[
  {
    "kind": "disclosed",
    "at": "2026-11-04"
  },
  {
    "kind": "advisory",
    "at": "2026-11-04"
  }
] Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-122080 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-122080?** Check whether you run Drupal htmLawed, Packagist:Https://Packages.Drupal.Org/8 Drupal/Htmlawed or htmLawed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Packagist:Https://Packages.Drupal.Org/8 Drupal/Htmlawed: upgrade to 3.9.0 or later

Replace the htmLawed.php and htmLawed_README.htm files in the module directory with downloads from htmLawed library version 1.2.17 or newer without waiting for a full module upgrade.</anigation>
<parameter name="timeline">[
  {
    "kind": "disclosed",
    "at": "2026-11-04"
  },
  {
    "kind": "advisory",
    "at": "2026-11-04"
  }
]

## Technical details

The htmLawed module's HTML filtering can be bypassed using malformed UTF-8 sequences on SQLite-backed sites running htmLawed library versions prior to 1.2.17. This allows stored XSS attack execution via injected malicious scripts in text input fields. The vulnerability only affects sites using SQLite databases with affected module versions.

## Affected products

- Drupal htmLawed >=3.0.0 <3.9.0 or >=4.0.0 <4.1.8
- htmLawed prior to 1.2.17

## Identifiers

- CVE-2026-122080
- DRUPAL-CONTRIB-2026-314

## References

- [https://www.drupal.org/u/prudloff](https://www.drupal.org/u/prudloff)
- [https://www.drupal.org/sa-contrib-2026-314](https://www.drupal.org/sa-contrib-2026-314)

## Related threats

- [Drupal htmLawed module cross-site scripting in attribute filtering](https://junglewise.ai/threats/cve-2026-122079-drupal-contrib-2026-315-the-htmlawed-module-enables-use-of-the)
