PatchSiren cyber security CVE debrief
CVE-2026-66829 rrrene CVE debrief
A URL Redirection to Untrusted Site ('Open Redirect') vulnerability exists in the HTML5 scrubber of the html_sanitize_ex library, which could allow a remote attacker to redirect users to an untrusted site. This issue arises from the library's handling of <meta> elements in sanitized HTML, particularly those with http-equiv='refresh'. The vulnerability affects html_sanitize_ex versions from 0.3.1 up to but not including 1.5.3.
- Vendor
- rrrene
- Product
- html_sanitize_ex
- CVSS
- LOW 2.3
- 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 applications using the html_sanitize_ex library, particularly those handling user-supplied HTML content, should assess their exposure and take steps to mitigate the vulnerability.
Why it matters
The vulnerability allows an attacker to redirect users to an untrusted site, potentially leading to phishing attacks and impacting user trust. Defenders should prioritize updating to a fixed version of html_sanitize_ex and review their usage of the library.
- Redirect users to malicious sites
- Potential for phishing attacks
- Impact on user trust and confidence
Technical summary
The html_sanitize_ex library, used for sanitizing HTML, has a vulnerability that allows a remote attacker to redirect users to an untrusted site. This is achieved through the library's handling of <meta> elements with http-equiv='refresh' in sanitized HTML. The issue affects versions from 0.3.1 up to but not including 1.5.3. Defenders should prioritize updating to a fixed version of html_sanitize_ex, specifically version 1.5.3 or later, and review their usage of the library to ensure proper sanitization of user-supplied HTML. The vulnerability allows an attacker to redirect users to an untrusted site, potentially leading to phishing attacks and impacting user trust.
Defensive priority
Defenders should prioritize updating to a fixed version of html_sanitize_ex, specifically version 1.5.3 or later, and review their usage of the library to ensure proper sanitization of user-supplied HTML.
Recommended defensive actions
- Update to html_sanitize_ex version 1.5.3 or later
- Review and validate user-supplied HTML input
- Implement Content Security Policy (CSP) directives to mitigate potential impacts
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
- Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance
- Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
Evidence notes
The vulnerability was reported via the GitHub Advisory Database and is documented in the CVE Program record and the NVD. The affected vendor, rrrene, has provided information on the issue and a fixed version.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-66829 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-66829
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-66829 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-66829
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-c486-5fvq-fp3v
github_advisory_database
-
Source reference
Unverified legacy reference
URL: https://github.com/rrrene/html_sanitize_ex/security/advisories/GHSA-2c6f-3j54-xpcr
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://github.com/rrrene/html_sanitize_ex/commit/9f7e38be51edc38f132dfe994f37af5cf5e0e76f
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://cna.erlef.org/cves/CVE-2026-66829.html
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://osv.dev/vulnerability/EEF-CVE-2026-66829
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://github.com/rrrene/html_sanitize_ex/commit/29454dc99513fd9b5b6429ab7b6695ad09889227
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.