PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-73491 flavorjones CVE debrief

CVE-2026-73491 is a vulnerability in the Loofah library, which is used for manipulating and transforming HTML/XML documents and fragments. The vulnerability affects versions 2.25.0 to 2.25.2 and allows for the execution of JavaScript code via HTML-encoded strings. The issue is fixed in version 2.25.2. Defenders should verify the version of Loofah used in their applications and upgrade to version 2.25.2 or later if necessary. The vulnerability is caused by the allowed_uri? method not rejecting javascript: URIs whose scheme is split or prefixed with HTML5 named whitespace character references. This issue affects only callers that pass HTML-encoded strings directly to allowed_uri?.

Vendor
flavorjones
Product
loofah
CVSS
LOW 2.3
CISA KEV
Not listed in stored evidence
Original CVE published
2026-08-12
Original CVE updated
2026-09-09
Advisory published
2026-08-12
Advisory updated
2026-09-09

Who should care

Defenders who use the Loofah library in their applications should verify the version used and upgrade to version 2.25.2 or later if necessary. This includes reviewing code that uses the allowed_uri? method and verifying the version of Loofah used in their applications. Defenders should also prioritize verifying the version of Loofah used in their applications and upgrading to version 2.25.2 or later if necessary.

Why it matters

CVE-2026-73491 is a vulnerability in the Loofah library that allows for the execution of JavaScript code via HTML-encoded strings. Defenders should prioritize verifying the version of Loofah used in their applications and upgrading to version 2.25.2 or later if necessary.

  • Verify Loofah library version used in applications
  • Upgrade to version 2.25.2 or later if necessary
  • Review code that uses the allowed_uri? method

Technical summary

The Loofah library vulnerability allows for the execution of JavaScript code via HTML-encoded strings. The issue affects versions 2.25.0 to 2.25.2 and is fixed in version 2.25.2. The vulnerability is caused by the allowed_uri? method not rejecting javascript: URIs whose scheme is split or prefixed with HTML5 named whitespace character references. This issue affects only callers that pass HTML-encoded strings directly to allowed_uri?. Loofah's default sanitize() path is not affected. Defenders should prioritize verifying the version of Loofah used in their applications and upgrading to version 2.25.2 or later if necessary.

Defensive priority

Defenders should prioritize verifying the version of Loofah used in their applications and upgrading to version 2.25.2 or later if necessary.

Recommended defensive actions

  • Verify the version of Loofah used in your application
  • Upgrade to version 2.25.2 or later if necessary
  • Review code that uses the allowed_uri? method
  • 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.
  • Review compensating controls for exposed systems while remediation is scheduled and verified.

Evidence notes

The vulnerability is caused by the allowed_uri? method not rejecting javascript: URIs whose scheme is split or prefixed with HTML5 named whitespace character references. This issue affects only callers that pass HTML-encoded strings directly to allowed_uri?. The issue is fixed in version 2.25.2. Loofah's default sanitize() path is not affected.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-73491 CVE Program record

    Publisher, destination, and source semantics verified

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

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

  • CVE-2026-73491 NVD vulnerability detail

    Publisher, destination, and source semantics verified

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

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

Supplemental references

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.