CVE-2026-66829: CWE-601 URL Redirection to Untrusted Site ('Open Redirect') in rrrene html_sanitize_ex
CVE-2026-66829 is an open redirect vulnerability in the html_sanitize_ex library's HTML5 scrubber. It allows an attacker to inject a <meta http-equiv="refresh"> element in sanitized HTML, causing users to be redirected to an attacker-controlled site. This issue affects versions from 0.3.1 up to but not including 1.5.3. The vulnerability is not a cross-site scripting flaw, as browsers do not execute javascript: URLs in meta refresh elements. The CVSS score is low, indicating limited impact.
AI Analysis
Technical Summary
The vulnerability in rrrene's html_sanitize_ex library (versions >=0.3.1 <1.5.3) involves improper sanitization of <meta http-equiv="refresh"> elements in HTML5 content. The sanitizer retains attacker-supplied meta refresh tags, which act on the entire document and can redirect users to arbitrary URLs. This open redirect vulnerability (CWE-601) does not enable script execution because browsers block javascript: URLs in meta refresh. The flaw allows remote attackers to force navigation to untrusted sites via sanitized HTML content.
Potential Impact
An attacker can cause users visiting a page that uses the vulnerable html_sanitize_ex library to be redirected to a site of the attacker's choosing. This could be used for phishing or redirecting users to malicious sites. However, the vulnerability does not allow script execution or compromise the original site directly. The overall impact is limited, reflected by a low CVSS score of 2.3.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or patch link is provided, users should monitor vendor communications for updates. Until a fix is available, avoid using vulnerable versions (>=0.3.1 <1.5.3) or sanitize input to remove meta refresh elements manually.
CVE-2026-66829: CWE-601 URL Redirection to Untrusted Site ('Open Redirect') in rrrene html_sanitize_ex
Description
CVE-2026-66829 is an open redirect vulnerability in the html_sanitize_ex library's HTML5 scrubber. It allows an attacker to inject a <meta http-equiv="refresh"> element in sanitized HTML, causing users to be redirected to an attacker-controlled site. This issue affects versions from 0.3.1 up to but not including 1.5.3. The vulnerability is not a cross-site scripting flaw, as browsers do not execute javascript: URLs in meta refresh elements. The CVSS score is low, indicating limited impact.
CVSS v4.0
Score 2.3low
Affected software
cpe:2.3:a:rrrene:html_sanitize_ex:*:*:*:*:*:*:*:*Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in rrrene's html_sanitize_ex library (versions >=0.3.1 <1.5.3) involves improper sanitization of <meta http-equiv="refresh"> elements in HTML5 content. The sanitizer retains attacker-supplied meta refresh tags, which act on the entire document and can redirect users to arbitrary URLs. This open redirect vulnerability (CWE-601) does not enable script execution because browsers block javascript: URLs in meta refresh. The flaw allows remote attackers to force navigation to untrusted sites via sanitized HTML content.
Potential Impact
An attacker can cause users visiting a page that uses the vulnerable html_sanitize_ex library to be redirected to a site of the attacker's choosing. This could be used for phishing or redirecting users to malicious sites. However, the vulnerability does not allow script execution or compromise the original site directly. The overall impact is limited, reflected by a low CVSS score of 2.3.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or patch link is provided, users should monitor vendor communications for updates. Until a fix is available, avoid using vulnerable versions (>=0.3.1 <1.5.3) or sanitize input to remove meta refresh elements manually.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- EEF
- Date Reserved
- 2026-08-06T08:15:02.719Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a74ab41bf8831d539ec74df
Added to database: 08/06/2026, 15:41:53 UTC
Last enriched: 08/06/2026, 15:58:07 UTC
Last updated: 08/06/2026, 15:58:07 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.