{"id":"DRUPAL-CONTRIB-2026-315","details":"The htmLawed module enables use of the [htmLawed](https://bioinformatics.org/phplabware/internal_utilities/htmLawed/index.php \"htmLawed website\") PHP library as a filter in a Text Format for restriction/filtering of HTML in textual input.\n\nThe htmLawed filter does not sufficiently filter attributes, leading to a cross-site scripting (XSS) vulnerability.\n\nThis vulnerability affects sites on Drupal core \u003e 11.2 or any version of core with the HTMX library.","aliases":["CVE-2026-122079"],"modified":"2026-11-04T20:30:03.553450737Z","published":"2026-11-04T17:52:43Z","references":[{"type":"WEB","url":"https://www.drupal.org/sa-contrib-2026-315"}],"affected":[{"package":{"name":"drupal/htmlawed","ecosystem":"Packagist:https://packages.drupal.org/8","purl":"pkg:composer/drupal/htmlawed?repository_url=https:%2F%2Fpackages.drupal.org%2F8"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.1.0"},{"fixed":"4.1.11"}],"database_specific":{"constraint":"\u003e=4.1.0 \u003c4.1.11"}}],"database_specific":{"source":"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/htmlawed/DRUPAL-CONTRIB-2026-315.json","affected_versions":"\u003e=4.1.0 \u003c4.1.11"}}],"schema_version":"1.9.2","credits":[{"name":"Pierre Rudloff (prudloff)","contact":["https://www.drupal.org/u/prudloff"]}]}