drupal-contrib-2026-314
osv_packagist
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.
Timeline
- Published
- unknown
- Last Modified
- unknown
CVSS Details
CVSS details not available.
Affected Products
No product information available.
References
Linked Vulnerabilities
No linked vulnerabilities found.
{
"affected": [
{
"database_specific": {
"affected_versions": ">=3.0.0 <3.9.0 || >=4.0.0 <4.1.8",
"source": "https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/htmlawed/DRUPAL-CONTRIB-2026-314.json"
},
"package": {
"ecosystem": "Packagist:https://packages.drupal.org/8",
"name": "drupal/htmlawed",
"purl": "pkg:composer/drupal/htmlawed?repository_url=https:%2F%2Fpackages.drupal.org%2F8"
},
"ranges": [
{
"database_specific": {
"constraint": ">=3.0.0 <3.9.0"
},
"events": [
{
"introduced": "3.0.0"
},
{
"fixed": "3.9.0"
}
],
"type": "ECOSYSTEM"
},
{
"database_specific": {
"constraint": ">=4.0.0 <4.1.8"
},
"events": [
{
"introduced": "4.0.0"
},
{
"fixed": "4.1.8"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2026-122080"
],
"credits": [
{
"contact": [
"https://www.drupal.org/u/prudloff"
],
"name": "Pierre Rudloff (prudloff)"
}
],
"details": "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.\n\nThe module's filtering of malicious HTML can be bypassed by using a malformed UTF8 character, leading to a cross-site scripting (XSS) vulnerability.\n\nOnly sites using an SQLite database are affected with versions of the htmLawed library prior to 1.2.17.",
"id": "DRUPAL-CONTRIB-2026-314",
"modified": "2026-11-04T20:30:02.721078839Z",
"published": "2026-11-04T17:52:30Z",
"references": [
{
"type": "WEB",
"url": "https://www.drupal.org/sa-contrib-2026-314"
}
],
"schema_version": "1.9.2"
}