Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft email with deeply nested HTML tags
-
DeliveryDeliver message to target inbox/app
-
ExploitApplication renders body via lettersanitizer
-
ExecutionUnwrap logic duplicates innerHTML recursively
-
ImpactCPU/memory exhaustion hangs browser context
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target application actually pass attacker-controlled HTML (e.g. an inbound email body) through lettersanitizer versions prior to 1.0.8 for in-browser rendering; the attacker must supply HTML containing deeply nested tags that trigger the disallowed-tag unwrapping path (the pre-patch code called element.insertAdjacentHTML('afterend', element.innerHTML), duplicating content per nesting level). Limiting factors: impact is confined to a client-side availability hang (VA:L) with no confidentiality/integrity effect and no RCE per the vendor; exposure exists only where this specific library renders untrusted email, so applications not using lettersanitizer or already on 1.0.8 are unaffected. No authentication is required (PR:N) and no special non-default configuration is named in the sources. |
| Impact | This is a denial-of-service-only flaw (CWE-770, uncontrolled resource consumption) in lettersanitizer, confirmed by the vendor GHSA advisory to NOT permit code execution. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) scores 6.9 and indicates a network-reachable, low-complexity, unauthenticated trigger, but the only impact is availability-limited (VA:L; VC:N/VI:N) - a hung or unresponsive browser context, not a server outage or data loss. No EPSS score and no KEV listing were provided; exploitation status is 'no public exploit identified at time of analysis,' though the fix PR (#10) and commit publicly reveal the vulnerable code path (recursive insertAdjacentHTML duplication of innerHTML during tag unwrapping), lowering the effort to reproduce. The vuln.today decision label is 'this_month,' consistent with a real-but-non-emergency issue: the raw CVSS looks medium-high because of the clean network/unauth vector, but the real-world ceiling is a client-side tab/worker hang in applications that render untrusted email through this specific library. Net: a legitimate availability bug to patch on a normal cycle, not a critical priority, and the medium CVSS overstates urgency relative to the DoS-only impact. |
| Exploit ScenarioDerived | An attacker sends an email whose HTML body contains thousands of deeply nested tags; when a victim application renders that message in-browser through lettersanitizer (< 1.0.8), the sanitizer's unwrapping logic repeatedly duplicates inner HTML, consuming CPU/memory and freezing the browser tab or rendering thread. No authentication or user interaction beyond opening/rendering the message is required (PR:N/UI:N). No weaponized public exploit is identified, but the patch diff openly documents the vulnerable operation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
Denial of service in lettersanitizer versions prior to 1.0.8 allows remote attackers to hang in-browser email rendering by supplying HTML with deeply nested tags; the pre-patch sanitizer duplicates nested content while unwrapping disallowed elements, causing uncontrolled resource consumption (CWE-770). The impact is availability-only on the client side, with no confidentiality, integrity or code-execution effect, and no public exploit was identified at time of analysis. Applications are affected only if they pass attacker-controlled HTML, such as inbound email bodies, through the library for in-browser rendering.
RemediationAI
Upgrade lettersanitizer to version 1.0.8, the vendor-released fixed version; see https://github.com/mat-sz/lettersanitizer/releases/tag/v1.0.8 and the advisory at https://github.com/mat-sz/lettersanitizer/security/advisories/GHSA-hhw2-373g-hx77. The fix is carried in PR #10 and commit 9d88dceac15b564329f0b0d36e0b95cdee0d9ebb, which replaces the insertAdjacentHTML-based unwrapping with child-node relocation followed by element removal. The vendor states that there are no workarounds besides upgrading; exposure is limited to applications that pass attacker-controlled HTML into affected versions for in-browser rendering, and applications already on 1.0.8 are unaffected.
Affected VersionsENISA
Affected Packages
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
lettersanitizer is a DOM-based HTML email sanitizer intended for browser-side rendering of untrusted email content. The flaw is classified as CWE-770 (uncontrolled resource consumption): before 1.0.8, the disallowed-tag unwrapping path used element.insertAdjacentHTML('afterend', element.innerHTML), which duplicates a nested subtree at each nesting level and can cause a client-side hang when deeply nested HTML is processed. The provided fix in PR #10 and commit 9d88dceac15b564329f0b0d36e0b95cdee0d9ebb changes unwrapping to move child nodes before the element and then remove the now-empty element, iterating in reverse to work from innermost elements outward. The CVE description and GHSA advisory identify versions before 1.0.8 as affected, and the CPE cpe:2.3:a:mat-sz:lettersanitizer:*:*:*:*:*:*:*:* tracks the package. The CVSS 4.0 vector is AV:N/AC:L/AT:N/PR:N/UI:N with only low availability impact (VA:L), and the independent CVSS 3.1 assessment agrees that exploitation requires the application to render attacker-controlled HTML through an affected version.
Know when Lettersanitizer 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Untrusted HTML is processed network-side with no auth or interaction (AV:N/AC:L/PR:N/UI:N); impact is a partial client-side availability hang only (A:L), no confidentiality or integrity effect.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
lettersanitizer is a DOM-based HTML email sanitizer for in-browser email rendering. Prior to version 1.0.8, there is a denial of service vulnerability with deeply nested HTML tags in lettersanitizer. This issue has been patched in version 1.0.8.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-141490
NVD
CVE.org
Vulnrichment
GitHub
Exploit-DB