{"id":"CVE-2026-122080","aliases":["CVE-2026-122080","DRUPAL-CONTRIB-2026-314"],"related":[],"kind":"vulnerability","state":"published","title":"htmLawed - Moderately critical - Cross-site scripting - SA-CONTRIB-2026-314","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 3.0.0 to 3.9.0, from 4.0.0 to 4.1.8.","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 3.0.0 to 3.9.0, from 4.0.0 to 4.1.8.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"drupal"}],"published":"2026-11-04T17:52:30.000Z","modified":"2026-11-26T00:44:07.713Z","severities":[],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"3.0.0","fixed":"3.9.0","status":"affected"},{"type":"semver","introduced":"4.0.0","fixed":"4.1.8","status":"affected"}],"vendor":"Drupal","product":"htmLawed","repo":"https://git.drupalcode.org/project/htmlawed","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"3.0.0","status":"affected","fixed":"3.9.0"},{"type":"ecosystem","introduced":"4.0.0","status":"affected","fixed":"4.1.8"}],"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-314","tags":["web"],"sources":["cvelist","drupal"]}],"credits":["Pierre Rudloff (prudloff)","alpha2zee","Swan Kalata (akalata)","Bram Driesen (bramdriesen)","Juraj Nemec (poker10)","Jess  (xjm)"],"assigner":"drupal","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-122080","url":"https://www.cve.org/CVERecord?id=CVE-2026-122080","licence":"CVE Terms of Use","modified":"2026-11-26T00:44:07.713Z"},{"source":"drupal","name":"Drupal Security Team","id":"DRUPAL-CONTRIB-2026-314","url":"https://osv.dev/vulnerability/DRUPAL-CONTRIB-2026-314","licence":"MIT","modified":"2026-11-04T20:30:02.721Z"}],"updatedAt":"2026-11-26T00:57:02.802Z","epss":{"score":0.00284,"percentile":0.22443,"date":"2026-12-01T12:00:22.000Z"}}