Not scored
htmLawed - Moderately critical - Cross-site scripting - SA-CONTRIB-2026-315
- 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-315
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 4.1.0 to 4.1.11.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Drupal htmLawed | from 4.1.0 before 4.1.11 | CVE List |
| drupal/htmlawed (Packagist:https://packages.drupal.org/8) | from 4.1.0 before 4.1.11 | Drupal 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 4.1.0 to 4.1.11.
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 htmLawed filter does not sufficiently filter attributes, leading to a cross-site scripting (XSS) vulnerability.
This vulnerability affects sites on Drupal core > 11.2 or any version of core with the HTMX library.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-122079 changed 2026-11-26 | CVE Terms of Use |
| Drupal Security Team | DRUPAL-CONTRIB-2026-315 changed 2026-11-04 | MIT |