CVE-2026-66370
Last modified
CVE-2026-66370 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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. EPSS estimates a 0.23% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Rrrene | Htmlsanitizeex | >= 0.3.1, < 1.5.3 |
References
- https://cna.erlef.org/cves/CVE-2026-66370.htmlPatch, Third Party Advisory
- https://osv.dev/vulnerability/EEF-CVE-2026-66370Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2026-66370?
How severe is CVE-2026-66370?
How do I fix CVE-2026-66370?
How Strix Helps
- One Click Account Takeover in GranolaHow a notification link broke out of Electron and led to a one-click account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-6636A vulnerability was detected in p2r3 convert up to 6998584ac…4.3
- CVE-2026-66360The ISO Presentation layer contains a flaw in the handling o…7.5
- CVE-2026-66362Description: When NGINX Plus is configured as the data plane…8.1
- CVE-2026-66364The GOOSE payload parser contains a boundary handling flaw t…6.5
- CVE-2026-66369The GOOSE parser contains an off-by-one boundary-handling fl…6.5
- CVE-2026-6637Stack buffer overflow in PostgreSQL module "refint" allows a…8.8
- CVE-2026-66372The affected products use insufficiently random values, whic…6.8
- CVE-2026-66373Redis before 8.8.0, in the unusual case where an authenticat…7.5
- CVE-2026-66374Knot Resolver before 6.4.1 allows remote code execution via …8.1
- CVE-2026-66375A low-privilege authenticated user may permanently remove pr…8.1
- CVE-2026-66376Credentials for a deleted user may remain valid for a short …5.4
- CVE-2026-66377An unauthenticated user may access restricted repository inf…5.3
Are you affected by CVE-2026-66370?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
