CVE-2026-66829: html_sanitize_ex HTML5 scrubber keeps attacker-supplied meta refresh, allowing forced cross-origin redirection

Published Aug 6, 2026
·
Updated

URL Redirection to Untrusted Site ('Open Redirect') vulnerability in the HTML5 scrubber in rrrene htmlsanitizeex allows a remote attacker to force visitors of a page to navigate to a site of the attacker's choosing via a <meta http-equiv="refresh"> element in sanitized HTML. HtmlSanitizeEx.html5/1 keeps attacker-supplied <meta> elements in its output. A meta element acts on the whole document rather than on the fragment it was embedded in, so it can also declare document-wide directives such as Content-Security-Policy.

This is not cross-site scripting. Browsers do not navigate a meta refresh to a javascript: URL, so the uppercase JAVASCRIPT: filter bypass yields no script execution and none was demonstrated.

This issue affects htmlsanitizeex: from 0.3.1 before 1.5.3.

Affected Software

1 affected component
rrrene/html_sanitize_ex>0.3.1<=1.5.3

Event History

Aug 6, 2026
CVE Published
via MITRE·02:49 PM
Data Sourced
via MITRE·02:49 PM
DescriptionWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-66829?

CVE-2026-66829 has a risk rating of 23.

2

What is CVE-2026-66829?

CVE-2026-66829 is a vulnerability that allows an attacker to force users to navigate to unauthorized sites via a meta refresh element in sanitized HTML.

3

How do I fix CVE-2026-66829?

To fix CVE-2026-66829, update to the latest version of the rrrene/html_sanitize_ex library that addresses this vulnerability.

4

What impact does CVE-2026-66829 have on users?

CVE-2026-66829 can lead to forced redirection to untrusted sites, potentially resulting in phishing or other malicious activities.

5

Is CVE-2026-66829 an active threat?

While specific exploitation details are not provided, CVE-2026-66829 poses a real risk due to its open redirect capabilities.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203