Search

Find a vulnerability

Search criteria

    Related vulnerabilities

    DRUPAL-CONTRIB-2026-314 (CVE-2026-122080)

    Vulnerability from drupal – Published: 2026-11-04 17:52 – Updated: 2026-11-04 17:52 – Source website
    VLAI
    Details

    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 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.


    {
      "affected": [
        {
          "database_specific": {
            "affected_versions": "\u003e=3.0.0 \u003c3.9.0 || \u003e=4.0.0 \u003c4.1.8"
          },
          "package": {
            "ecosystem": "Packagist:https://packages.drupal.org/8",
            "name": "drupal/htmlawed"
          },
          "ranges": [
            {
              "database_specific": {
                "constraint": "\u003e=3.0.0 \u003c3.9.0"
              },
              "events": [
                {
                  "introduced": "3.0.0"
                },
                {
                  "fixed": "3.9.0"
                }
              ],
              "type": "ECOSYSTEM"
            },
            {
              "database_specific": {
                "constraint": "\u003e=4.0.0 \u003c4.1.8"
              },
              "events": [
                {
                  "introduced": "4.0.0"
                },
                {
                  "fixed": "4.1.8"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "severity": []
        }
      ],
      "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\u0027s 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-04T17:52:30.000Z",
      "published": "2026-11-04T17:52:30.000Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://www.drupal.org/sa-contrib-2026-314"
        }
      ],
      "schema_version": "1.7.0"
    }