PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-122079 drupal CVE debrief

A cross-site scripting (XSS) vulnerability exists in the htmLawed module for Drupal, which 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 this vulnerability. It affects sites on Drupal core > 11.2 or any version of core with the HTMX library.

Vendor
drupal
Product
htmlawed
CVSS
Unknown
CISA KEV
Not listed in stored evidence
Original CVE published
2026-11-04
Original CVE updated
2026-11-04
Advisory published
2026-11-04
Advisory updated
2026-11-04

Who should care

Defenders responsible for Drupal deployments, especially those using the htmLawed module and HTMX library, should assess exposure and prioritize updates. This includes verifying htmLawed module usage, reviewing Text Format configurations, and monitoring for potential XSS attacks. Security teams and vulnerability management teams should also review and update their configurations to mitigate potential risks.

Why it matters

A cross-site scripting (XSS) vulnerability exists in the htmLawed module for Drupal, affecting sites on Drupal core > 11.2 or any version of core with the HTMX library. Defenders should prioritize verifying exposure and updating the htmLawed module to version 4.1.11 or later.

  • Potential XSS attacks against users of affected Drupal sites
  • Need to verify exposure in Drupal deployments
  • Priority on updating the htmLawed module to version 4.1.11 or later
  • Monitoring for potential XSS attacks

Technical summary

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. The vulnerability allows for potential XSS attacks against users of affected Drupal sites, emphasizing the need for defenders to prioritize verifying exposure and updating the htmLawed module.

Defensive priority

Defenders should prioritize verifying exposure in their Drupal deployments, especially those using the htmLawed module and HTMX library, and update to version 4.1.11 or later.

Recommended defensive actions

  • Verify exposure in Drupal deployments using the htmLawed module and HTMX library
  • Update the htmLawed module to version 4.1.11 or later
  • Monitor for potential XSS attacks
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The CVE record and source item provide details on the vulnerability, but do not specify versions or remediation beyond updating the htmLawed module. Affected sites should verify exposure, especially those on Drupal core > 11.2 or any version of core with the HTMX library, and update to version 4.1.11 or later. Limited source detail suggests verifying htmLawed module usage and reviewing Text Format configurations for potential XSS risks.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-122079 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-122079

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-122079 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-122079

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • DRUPAL-CONTRIB-2026-315

    Unverified legacy reference

    URL: https://storage.googleapis.com/osv-vulnerabilities/Packagist/DRUPAL-CONTRIB-2026-315.json

    osv_dev

  • Source reference

    Unverified legacy reference

    URL: https://www.drupal.org/sa-contrib-2026-315

    Supplemental source

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.