Search

Find a vulnerability

Search criteria

    Related vulnerabilities

    DRUPAL-CONTRIB-2026-315 (CVE-2026-122079)

    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 htmLawed filter does not sufficiently filter attributes, leading to a cross-site scripting (XSS) vulnerability.

    This vulnerability affects sites on Drupal core > 11.2 or any version of core with the HTMX library.


    {
      "affected": [
        {
          "database_specific": {
            "affected_versions": "\u003e=4.1.0 \u003c4.1.11"
          },
          "package": {
            "ecosystem": "Packagist:https://packages.drupal.org/8",
            "name": "drupal/htmlawed"
          },
          "ranges": [
            {
              "database_specific": {
                "constraint": "\u003e=4.1.0 \u003c4.1.11"
              },
              "events": [
                {
                  "introduced": "4.1.0"
                },
                {
                  "fixed": "4.1.11"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "severity": []
        }
      ],
      "aliases": [
        "CVE-2026-122079"
      ],
      "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 \"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.",
      "id": "DRUPAL-CONTRIB-2026-315",
      "modified": "2026-11-04T17:52:43.000Z",
      "published": "2026-11-04T17:52:43.000Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://www.drupal.org/sa-contrib-2026-315"
        }
      ],
      "schema_version": "1.7.0"
    }