CVE-2026-122080
JSON

Not scored

htmLawed - Moderately critical - Cross-site scripting - SA-CONTRIB-2026-314

Severity
Not scored
Exploit likelihood
0.28% (higher than 22% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
drupal
Also known as
DRUPAL-CONTRIB-2026-314

Description

Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting") vulnerability in Drupal htmLawed allows Cross-Site Scripting (XSS). This issue affects htmLawed versions: from 3.0.0 to 3.9.0, from 4.0.0 to 4.1.8.

Affected

Product or packageVersionsReported by
Drupal htmLawedfrom 3.0.0 before 3.9.0, from 4.0.0 before 4.1.8CVE List
drupal/htmlawed (Packagist:https://packages.drupal.org/8)from 3.0.0 before 3.9.0, from 4.0.0 before 4.1.8Drupal Security Team

Classification

What each source says

CVE List

Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting") vulnerability in Drupal htmLawed allows Cross-Site Scripting (XSS). This issue affects htmLawed versions: from 3.0.0 to 3.9.0, from 4.0.0 to 4.1.8.

Drupal Security Team

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.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-122080 changed 2026-11-26CVE Terms of Use
Drupal Security TeamDRUPAL-CONTRIB-2026-314 changed 2026-11-04MIT