CVE-2026-66829
published low CVSS 4.0 · 2.3html_sanitize_ex HTML5 scrubber keeps attacker-supplied meta refresh, allowing forced cross-origin redirection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| rrrene | — | html_sanitize_ex0.3.1 to < 1.4.5 · 1.5.0-rc.0 to < 1.5.3 · Other versions: unaffected | Affected | Not stated | EEF |
| rrrene | — | rrrene/html_sanitize_exhtml_sanitize_ex · 8976d64ea0b77d26093a94a43ec48a3978e8d028 and later (affected · git); changes: unaffected at 29454dc99513fd9b5b6429ab7b6695ad09889227, unaffected at 9f7e38be51edc38f132dfe994f37af5cf5e0e76f · Other versions: unaffected | Version-specific | Not stated | EEF |
Description
URL Redirection to Untrusted Site ('Open Redirect') vulnerability in the HTML5 scrubber in rrrene html_sanitize_ex 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 html_sanitize_ex: from 0.3.1 before 1.4.5 and from 1.5.0-rc.0 before 1.5.3.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.3 / 10
- Severity
- low
- Provider
- EEF · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| rrrene | html_sanitize_ex | 0.3.1 to < 1.4.5 (affected · semver)1.5.0-rc.0 to < 1.5.3 (affected · semver)Default: unaffected | EEF · cna |
| rrrene | html_sanitize_ex | 8976d64ea0b77d26093a94a43ec48a3978e8d028 and later (affected · git); changes: unaffected at 29454dc99513fd9b5b6429ab7b6695ad09889227, unaffected at 9f7e38be51edc38f132dfe994f37af5cf5e0e76fDefault: unaffected | EEF · cna |
Weaknesses
1- CWE-601 CWE-601 URL Redirection to Untrusted Site
References
6- EEF CNA record for CVE-2026-66829 https://cna.erlef.org/cves/CVE-2026-66829.html
- Fix commit 29454dc in rrrene/html_sanitize_ex https://github.com/rrrene/html_sanitize_ex/commit/29454dc99513fd9b5b6429ab7b6695ad09889227
- Introducing commit 8976d64 in rrrene/html_sanitize_ex https://github.com/rrrene/html_sanitize_ex/commit/8976d64ea0b77d26093a94a43ec48a3978e8d028
- Fix commit 9f7e38b in rrrene/html_sanitize_ex https://github.com/rrrene/html_sanitize_ex/commit/9f7e38be51edc38f132dfe994f37af5cf5e0e76f
- https://github.com/rrrene/html_sanitize_ex/security/advisories/GHSA-2c6f-3j54-xpcr
- OSV record EEF-CVE-2026-66829 https://osv.dev/vulnerability/EEF-CVE-2026-66829
Provider assertions
2EEF · cna
html_sanitize_ex HTML5 scrubber keeps attacker-supplied meta refresh, allowing forced cross-origin redirection
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d839e6b21571b92cb976528ebcd06d7e04527e7df9a88781b02b9eb95169165d
- Ingested
- 20 Nov 2026, 06:18:48 UTC
- Source record
- Official CVE record