CVE-2026-66370: rrrene html_sanitize_ex · Open Redirect
Affects rrrene html_sanitize_exSource CVE Database V5
Not known to be exploited · CVSS 4.8 Medium : upgrade to 1.5.3 or 1.4.5 when convenient.
Data as of 5 Nov 2026, 00:01 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, 1.4.5
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 5 Nov 2026.
What to do
Upgrade rrrene html_sanitize_ex to 1.5.3 or 1.4.5.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| rrrenehtml_sanitize_ex | Affected
| Fixed in
|
| rrrenehtml_sanitize_ex | Affected
| Fixed in
|
| rrrenehtml_sanitize_ex | Affected
| Fixed in– |
Hexhtml_sanitize_expkg:hex/html_sanitize_exOther threats | Affected
| Fixed in
|
CPE configurations (1)
cpe:2.3:a:rrrene:html_sanitize_ex:*:*:*:*:*:*:*:*
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, users should be cautious when sanitizing HTML with html_sanitize_ex versions >=0.3.1 and <1.5.3, especially in contexts where untrusted input can influence form input elements. Consider additional validation or filtering of form and formaction attributes outside of the sanitizer to prevent cross-origin URLs.
Description
URL Redirection to Untrusted Site ('Open Redirect') vulnerability in the HTML5 scrubber in rrrene html_sanitize_ex allows an unauthenticated remote attacker to retarget a form already on the rendering page and receive whatever the victim submits, including credentials, via the form and formaction attributes on an <input> element in sanitized HTML. HTML's form attribute associates an input with any form on the page by its id even when the input sits outside that form, and formaction on a submit control overrides the owning form's action. Neither attribute receives a scheme check, so an absolute cross-origin URL survives sanitizing. No script executes. The scrubber allows neither form nor button, so the attacker cannot introduce a form of their own and the rendering page must already contain a form carrying an id. 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.
References
- github.com/rrrene/html_sanitize_ex/security/advisories/GHSA-w3f9-jjhw-wwvq (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/a1e804ed997e780ea71d14393cf2f701330553a6 (opens in a new tab)
- github.com/rrrene/html_sanitize_ex/commit/21394e758cb0ffe12fb9953c30fdedc6016c8f9e (opens in a new tab)