{"id":"CVE-2026-122079","aliases":["CVE-2026-122079","DRUPAL-CONTRIB-2026-315"],"related":[],"kind":"vulnerability","state":"published","title":"htmLawed - Moderately critical - Cross-site scripting - SA-CONTRIB-2026-315","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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 > 11.2 or any version of core with the HTMX library.","format":"markdown","source":"drupal"}],"published":"2026-11-04T17:52:43.000Z","modified":"2026-11-26T00:44:06.574Z","severities":[],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"4.1.0","fixed":"4.1.11","status":"affected"}],"vendor":"Drupal","product":"htmLawed","repo":"https://git.drupalcode.org/project/htmlawed","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"4.1.0","status":"affected","fixed":"4.1.11"}],"ecosystem":"Packagist:https://packages.drupal.org/8","package":"drupal/htmlawed","purl":"pkg:composer/drupal/htmlawed?repository_url=https:%2F%2Fpackages.drupal.org%2F8","source":"drupal"}],"references":[{"url":"https://www.drupal.org/sa-contrib-2026-315","tags":["web"],"sources":["cvelist","drupal"]}],"credits":["Pierre Rudloff (prudloff)","alpha2zee","Swan Kalata (akalata)","Bram Driesen (bramdriesen)","Greg Knaddison (greggles)","Juraj Nemec (poker10)","Jess  (xjm)"],"assigner":"drupal","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-122079","url":"https://www.cve.org/CVERecord?id=CVE-2026-122079","licence":"CVE Terms of Use","modified":"2026-11-26T00:44:06.574Z"},{"source":"drupal","name":"Drupal Security Team","id":"DRUPAL-CONTRIB-2026-315","url":"https://osv.dev/vulnerability/DRUPAL-CONTRIB-2026-315","licence":"MIT","modified":"2026-11-04T20:30:03.553Z"}],"updatedAt":"2026-11-26T00:57:02.726Z","epss":{"score":0.00284,"percentile":0.22444,"date":"2026-12-01T12:00:22.000Z"}}