URL Redirection to Untrusted Site ('Open Redirect') vulnerability in the HTML5 scrubber in rrrene html_sanitize_ex allows a remote attacker to force… (CVE-2026-66829)
An open redirect vulnerability exists in the HTML5 scrubber of the html_sanitize_ex library, allowing remote attackers to cause users to be redirected to attacker-controlled sites via a <meta http-equiv="refresh"> element in sanitized HTML. This issue affects versions from 0.3.1 up to but not including 1.5.3. It is not a cross-site scripting vulnerability, as browsers do not execute javascript: URLs in meta refresh elements. The vulnerability has a CVSS score of 6.1 and is classified as low severity.
AI Analysis
Technical Summary
The html_sanitize_ex library's HTML5 scrubber improperly retains attacker-supplied <meta http-equiv="refresh"> elements in sanitized output, enabling an open redirect vulnerability (CWE-601). This allows an attacker to force visitors of a page to navigate to a site of the attacker's choosing. The vulnerability affects versions from 0.3.1 before 1.5.3. It does not allow script execution via javascript: URLs due to browser restrictions. The CVSS 3.1 base score is 6.1, reflecting network attack vector, low attack complexity, no privileges required, user interaction required, scope changed, and low impact on confidentiality and integrity.
Potential Impact
An attacker can cause users to be redirected to arbitrary external sites by injecting a <meta http-equiv="refresh"> element into sanitized HTML output. This can be used for phishing or redirecting users to malicious sites. However, it does not allow cross-site scripting or direct code execution. The impact is limited to user redirection and potential loss of trust or exposure to malicious content on the redirected site.
Mitigation Recommendations
No official patch or fix is currently documented. Users should upgrade to html_sanitize_ex version 1.5.3 or later once available, as the vulnerability affects versions before 1.5.3. Until then, avoid using vulnerable versions or implement additional filtering to remove or sanitize <meta http-equiv="refresh"> elements. Monitor vendor advisories for official remediation updates. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
URL Redirection to Untrusted Site ('Open Redirect') vulnerability in the HTML5 scrubber in rrrene html_sanitize_ex allows a remote attacker to force… (CVE-2026-66829)
Description
An open redirect vulnerability exists in the HTML5 scrubber of the html_sanitize_ex library, allowing remote attackers to cause users to be redirected to attacker-controlled sites via a <meta http-equiv="refresh"> element in sanitized HTML. This issue affects versions from 0.3.1 up to but not including 1.5.3. It is not a cross-site scripting vulnerability, as browsers do not execute javascript: URLs in meta refresh elements. The vulnerability has a CVSS score of 6.1 and is classified as low severity.
CVSS v3.1
Score 6.1medium
Affected software
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 html_sanitize_ex library's HTML5 scrubber improperly retains attacker-supplied <meta http-equiv="refresh"> elements in sanitized output, enabling an open redirect vulnerability (CWE-601). This allows an attacker to force visitors of a page to navigate to a site of the attacker's choosing. The vulnerability affects versions from 0.3.1 before 1.5.3. It does not allow script execution via javascript: URLs due to browser restrictions. The CVSS 3.1 base score is 6.1, reflecting network attack vector, low attack complexity, no privileges required, user interaction required, scope changed, and low impact on confidentiality and integrity.
Potential Impact
An attacker can cause users to be redirected to arbitrary external sites by injecting a <meta http-equiv="refresh"> element into sanitized HTML output. This can be used for phishing or redirecting users to malicious sites. However, it does not allow cross-site scripting or direct code execution. The impact is limited to user redirection and potential loss of trust or exposure to malicious content on the redirected site.
Mitigation Recommendations
No official patch or fix is currently documented. Users should upgrade to html_sanitize_ex version 1.5.3 or later once available, as the vulnerability affects versions before 1.5.3. Until then, avoid using vulnerable versions or implement additional filtering to remove or sanitize <meta http-equiv="refresh"> elements. Monitor vendor advisories for official remediation updates. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-c486-5fvq-fp3v
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-66829"]
- Ecosystems
- []
- Database Specific Severity
- LOW
- Cvss Version
- 3.1
Threat ID: 6a7b6fd2bf8831d5393ea5b9
Added to database: 08/11/2026, 18:54:10 UTC
Last enriched: 08/11/2026, 19:12:13 UTC
Last updated: 08/12/2026, 03:40:59 UTC
Views: 4
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.