DRUPAL-CONTRIB-2026-315

    Dashboard / Vulnerabilities / DRUPAL-CONTRIB-2026-315

    DRUPAL-CONTRIB-2026-315

    Published: 4 Nov 2026Last Modified: 4 Nov 2026

    Summary:

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

    Package

    Name: drupal/htmlawed

    Purl: pkg:composer/drupal/htmlawed?repository_url=https:%2F%2Fpackages.drupal.org%2F8

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 4.1.0
    Fixed -4.1.11

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    DRUPAL-CONTRIB-2026-315 | CVE-DB