PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-66370 rrrene CVE debrief

The CVE-2026-66370 vulnerability is an URL Redirection to Untrusted Site ('Open Redirect') issue in the HTML5 scrubber of the rrrene html_sanitize_ex library. This vulnerability allows an unauthenticated remote attacker to redirect a form on a rendering page to an untrusted site, potentially capturing sensitive information such as credentials. The issue arises from the way the library handles the form and formaction attributes in sanitized HTML, allowing an absolute cross-origin URL to bypass scheme checks.

Vendor
rrrene
Product
html_sanitize_ex
CVSS
MEDIUM 4.8
CISA KEV
Not listed in stored evidence
Original CVE published
2026-08-06
Original CVE updated
2026-11-20
Advisory published
2026-08-06
Advisory updated
2026-11-20

Who should care

Defenders responsible for systems using the html_sanitize_ex library, particularly those handling user-submitted HTML or rendering pages with forms, should assess exposure to this vulnerability. Web application developers and security teams should verify if their applications are using affected versions of the library and prioritize remediation efforts.

Why it matters

The CVE-2026-66370 vulnerability in rrrene html_sanitize_ex poses a risk to systems handling user-submitted HTML or rendering pages with forms. Defenders should assess exposure, prioritize remediation, and monitor for potential phishing attempts.

  • Potential capture of sensitive information such as credentials
  • Possible phishing attacks leveraging the open redirect vulnerability
  • Defenders need to verify if their systems are using affected versions of html_sanitize_ex
  • Remediation priority for systems handling user-submitted HTML or rendering pages with forms

Technical summary

The URL Redirection to Untrusted Site ('Open Redirect') vulnerability in rrrene html_sanitize_ex allows an unauthenticated remote attacker to redirect a form on a rendering page to an untrusted site. This is achieved through the form and formaction attributes on an <input> element in sanitized HTML. The library fails to properly sanitize these attributes, allowing an absolute cross-origin URL to bypass scheme checks. This could lead to attackers capturing sensitive information such as credentials.

Defensive priority

Defenders should prioritize assessing exposure to this vulnerability in systems using the affected versions of html_sanitize_ex, particularly those handling user-submitted HTML or rendering pages with forms.

Recommended defensive actions

  • Assess exposure to this vulnerability in systems using html_sanitize_ex versions between 0.3.1 and 1.5.3.
  • Verify if user-submitted HTML is being sanitized with the affected library versions.
  • Consider upgrading to html_sanitize_ex version 1.5.3 or later.
  • Monitor for potential phishing attempts leveraging this vulnerability.
  • 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.

Evidence notes

The vulnerability details are based on the GitHub Advisory Database entry GHSA-r8xc-fmjg-37c5 and the official CVE Program record. The affected versions of html_sanitize_ex range from 0.3.1 to before 1.5.3.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-66370 CVE Program record

    Publisher, destination, and source semantics verified

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

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

  • CVE-2026-66370 NVD vulnerability detail

    Publisher, destination, and source semantics verified

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

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

Supplemental references

  • URL Redirection to Untrusted Site ('Open Redirect') vulnerability in the HTML5 scrubber in rrren

    Unverified legacy reference

    URL: https://github.com/advisories/GHSA-r8xc-fmjg-37c5

    github_advisory_database

  • Source reference

    Unverified legacy reference

    URL: https://github.com/rrrene/html_sanitize_ex/security/advisories/GHSA-w3f9-jjhw-wwvq

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/rrrene/html_sanitize_ex/commit/a1e804ed997e780ea71d14393cf2f701330553a6

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://cna.erlef.org/cves/CVE-2026-66370.html

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://osv.dev/vulnerability/EEF-CVE-2026-66370

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/rrrene/html_sanitize_ex/commit/21394e758cb0ffe12fb9953c30fdedc6016c8f9e

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/rrrene/html_sanitize_ex/commit/8976d64ea0b77d26093a94a43ec48a3978e8d028

    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.