Skip to main content

html_sanitize_ex CVE-2026-66829

| EUVDEUVD-2026-54082 LOW
URL Redirection to Untrusted Site (Open Redirect) (CWE-601)
2026-08-06 EEF GHSA-c486-5fvq-fp3v
2.3
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Submit HTML with meta refresh payload
  2. Delivery
    HTML5 scrubber passes meta element through
  3. Exploit
    Sanitized output stored and rendered to users
  4. Execution
    Victim browser auto-navigates to attacker-controlled URL
  5. Impact
    Phishing or credential harvesting at destination

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Redirect URL validation
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The application must be using html_sanitize_ex's HtmlSanitizeEx.Scrubber.HTML5 scrubber specifically - not the Basic or Generic scrubbers, which are not implicated. The attacker must have the ability to submit HTML content that is processed by this scrubber and subsequently rendered to other users (e.g., a forum post, comment field, or CMS rich-text editor accepting raw HTML). User interaction is required: the victim must passively load the page containing the sanitized output; no active click on a link is needed since meta refresh fires automatically. Exploitation is strictly limited to navigation-based open redirect - the CVE description explicitly confirms browsers do not navigate meta refresh to javascript: URLs, ruling out script execution. Applications that sanitize and discard meta elements through additional post-processing, or that do not render user-supplied HTML to other users, are not exploitable.

Impact

The CVSS 4.0 base score of 2.3 accurately reflects the narrow real-world impact. The vector AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N encodes two important limiters: AT:P (attack requirements present - the application must accept attacker-supplied HTML processed by the HTML5 scrubber) and UI:P (passive user interaction - a victim must load the page). The vulnerable system (the library and the server) sustains zero impact; only the subsequent system (the victim's browser navigation) sees a low-integrity effect. There is no KEV listing and no EPSS data was provided, consistent with the low severity. This is not a 'high CVSS but low risk' disconnect - the low score is itself accurate. The open redirect is a real bug enabling phishing chains but does not enable code execution, credential theft, or data exfiltration on its own. Priority is low for most teams; applications accepting rich user HTML and rendering it to other users (forums, CMSes) should patch promptly to close the phishing vector.

Exploit ScenarioDerived

An attacker submits a comment or rich-text post containing <meta http-equiv="refresh" content="0;url=https://phishing.example/login"> to an Elixir web application that uses html_sanitize_ex's HTML5 scrubber before storing and rendering user content. The scrubber passes the meta element through intact. When any visitor loads the page, their browser immediately navigates to the attacker's phishing site, enabling credential harvesting. No public exploit code has been identified at time of analysis, and no JavaScript execution is achievable via this vector.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.8% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 06, 2026

Open redirect in html_sanitize_ex (Elixir, versions 0.3.1 through 1.5.2) allows remote attackers to force page visitors to navigate to attacker-controlled URLs by injecting <meta http-equiv="refresh"> elements that the HTML5 scrubber (HtmlSanitizeEx.Scrubber.HTML5) passes through intact into sanitized output. Because a meta refresh acts at document scope rather than fragment scope, it overrides the host page's navigation regardless of where the sanitized fragment is embedded. The CVE description explicitly rules out JavaScript execution - this is a pure redirect primitive - and no public exploit has been identified at time of analysis.

RemediationAI

Upgrade html_sanitize_ex to version 1.5.3 or later; the fix is delivered via commit 9f7e38be51edc38f132dfe994f37af5cf5e0e76f (https://github.com/rrrene/html_sanitize_ex/commit/9f7e38be51edc38f132dfe994f37af5cf5e0e76f). The patched version boundary ('before 1.5.3') is stated in the CVE description and advisory but the tagged release has not been independently verified - confirm the tag exists in the repository before deploying. If immediate upgrade is not feasible, a targeted workaround is to post-process sanitized HTML output and strip any remaining <meta> elements or remove http-equiv attributes before rendering content to users; this adds a dependency on downstream processing but eliminates the redirect vector without requiring a library upgrade. Note that stripping all <meta> elements may affect legitimate use cases such as charset declarations. Full advisory: https://github.com/rrrene/html_sanitize_ex/security/advisories/GHSA-2c6f-3j54-xpcr.

Affected VersionsENISA

html_sanitize_ex 0.3.1 <1.5.3
html_sanitize_ex 8976d64ea0b77d26093a94a43ec48a3978e8d028 <9f7e38be51edc38f132dfe994f37af5cf5e0e76f

Affected Packages

euvd html_sanitize_ex fix: 1.5.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

html_sanitize_ex is an Elixir library (CPE cpe:2.3:a:rrrene:html_sanitize_ex:*:*:*:*:*:*:*:*) that provides pluggable HTML scrubbers for sanitizing user-supplied markup. The HTML5 scrubber module (HtmlSanitizeEx.Scrubber.HTML5) maintained an allowlist of permitted attributes; prior to the fix, http-equiv with the value refresh was passed through this allowlist rather than stripped. The root cause (CWE-601) is that the scrubber treated the <meta> element as a harmless inline element rather than recognising that http-equiv="refresh" carries a document-level navigation directive. The commit diff (9f7e38be) shows the fix pattern-matches {"http-equiv", "refresh"} explicitly to nil (stripped) and adds a case-insensitive regex guard for variant spellings, while also tightening the content-attribute filter to reject url=, script, and unsafe substrings. The <noscript> allow-tag entry was also removed in the same patch.

Know when Open Redirect gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (EEF) PRIMARY 2.3 LOW
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
vuln.today AI 4.7 MEDIUM

Attacker-supplied HTML passively redirects victims (UI:R, S:C) with no server-side impact; only downstream navigation integrity is affected (I:L), and no authentication is required to submit the payload.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N

Primary rating from Vendor (EEF).

CVSS VectorVendor: EEF

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
Low
Subsequent system: Availability
None

DescriptionCVE.org

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.5.3.

Threat Intelligence Overview

EPSS Score
0.8%
Top 45% exploitable
Prevalence
Low
Elixir-ecosystem HTML sanitizer, niche language and framework footprint
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.8%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

13
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +12
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2017-1000117 HIGH POC
8.8 Oct 05

A malicious third-party can give a crafted "ssh://..." URL to an unsuspecting victim, and an attempt to visit the URL ca

CVE-2024-52875 HIGH POC
8.8 Jan 31

GFI Kerio Control versions 9.2.5 through 9.4.5 contain an HTTP response splitting vulnerability in the dest parameter of

CVE-2016-5385 HIGH POC
8.1 Jul 19

PHP through 7.0.8 does not attempt to address RFC 3875 section 4.1.18 namespace conflicts and therefore does not protect

CVE-2013-2248 MEDIUM POC
5.8 Jul 20

Multiple open redirect vulnerabilities in Apache Struts 2.0.0 through 2.3.15 allow remote attackers to redirect users to

CVE-2018-11784 MEDIUM POC
4.3 Oct 04

When the default servlet in Apache Tomcat versions 9.0.0.M1 to 9.0.11, 8.5.0 to 8.5.33 and 7.0.23 to 7.0.90 returned a r

CVE-2022-45402 MEDIUM
6.1 Nov 15

In Apache Airflow versions prior to 2.4.3, there was an open redirect in the webserver's `/login` endpoint. Rated medium

CVE-2012-6499 MEDIUM POC
5.8 Jan 12

Open redirect vulnerability in age-verification.php in the Age Verification plugin 0.4 and earlier for WordPress allows

CVE-2015-2863 MEDIUM POC
4.3 Jul 20

Open redirect vulnerability in Kaseya Virtual System Administrator (VSA) 7.x before 7.0.0.29, 8.x before 8.0.0.18, 9.0 b

CVE-2017-3528 MEDIUM POC
5.4 Apr 24

Vulnerability in the Oracle Applications Framework component of Oracle E-Business Suite (subcomponent: Popup windows (li

CVE-2012-0518 MEDIUM
4.7 Oct 16

Unspecified vulnerability in the Oracle Application Server Single Sign-On component in Oracle Fusion Middleware 10.1.4.3

CVE-2024-21641 MEDIUM POC
6.5 Jan 05

Flarum is open source discussion platform software. Rated medium severity (CVSS 6.5), this vulnerability is remotely exp

CVE-2015-5354 MEDIUM POC
5.8 Jul 01

Open redirect vulnerability in Novius OS 5.0.1 (Elche) allows remote attackers to redirect users to arbitrary web sites

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy