CVE-2026-66370: rrrene html_sanitize_ex · Open Redirect
Affects html_sanitize_exSource GCVE Database
Not known to be exploited · CVSS 4.8 Medium : upgrade to 1.5.3 when convenient.
Data as of 9 Nov 2026, 23:24 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 34% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.5.3
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:H/SI:L/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 6 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 10 Nov 2026.
What to do
Upgrade html_sanitize_ex to 1.5.3.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Hexhtml_sanitize_expkg:hex/html_sanitize_exOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, avoid using vulnerable versions of html_sanitize_ex or ensure that the rendering pages do not contain forms with id attributes that could be retargeted.
Description
CVE-2026-66370 is an open redirect vulnerability in the html_sanitize_ex HTML5 scrubber by rrrene. It allows an unauthenticated remote attacker to manipulate form input elements to redirect form submissions to an attacker-controlled external URL. The vulnerability arises because the sanitizer does not validate the scheme of the form and formaction attributes on input elements, allowing cross-origin URLs to persist after sanitization. No script execution is possible, and the attacker cannot inject new forms, only retarget existing forms on the page. This affects versions from 0.3.1 up to but not including 1.5.3, including 1.5.0-rc.0.
References
- github.com/rrrene/html_sanitize_ex/security/advisories/GHSA-w3f9-jjhw-wwvq (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-66370 (opens in a new tab)
- github.com/rrrene/html_sanitize_ex/commit/a1e804ed997e780ea71d14393cf2f701330553a6 (opens in a new tab)
- cna.erlef.org/cves/CVE-2026-66370.html (opens in a new tab)
- osv.dev/vulnerability/EEF-CVE-2026-66370 (opens in a new tab)
- github.com/rrrene/html_sanitize_ex/commit/21394e758cb0ffe12fb9953c30fdedc6016c8f9e (opens in a new tab)