Skip to main content

lettersanitizer EUVDEUVD-2026-141490

| CVE-2026-75527 MEDIUM
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-12-02 GitHub_M
6.9
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Craft email with deeply nested HTML tags
  2. Delivery
    Deliver message to target inbox/app
  3. Exploit
    Application renders body via lettersanitizer
  4. Execution
    Unwrap logic duplicates innerHTML recursively
  5. Impact
    CPU/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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available

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

Alert me

AnalysisAIv1 – 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

lettersanitizer < 1.0.8

Affected Packages

euvd lettersanitizer fix: 1.0.8

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

Vendor (GitHub_M) PRIMARY 6.9 MEDIUM
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
vuln.today AI 5.3 MEDIUM

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.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

1
Patch available
Dec 02, 2026 - 17:03 EUVD

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

Prevalence
Low
niche single-maintainer npm email-sanitizer library, limited deployment footprint
Data Quality
4 sources
Confidence: Medium
EUVD NVD CVE.org Vulnrichment GitHub

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 MEDIUM
CISA KEV No
Public POC No
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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