Live threats

All CVEs / Lettersanitizer Project

CVE-2022-31103Lettersanitizer Project Lettersanitizer

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.6%
probability of exploitation in 30 days · percentile 76
Auth required
No
Published
Jun 27, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-754
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

lettersanitizer is a DOM-based HTML email sanitizer for in-browser email rendering. All versions of lettersanitizer below 1.0.2 are affected by a denial of service issue when processing a CSS at-rule `@keyframes`. This package is depended on by [react-letter](https://github.com/mat-sz/react-letter), therefore everyone using react-letter is also at risk. The problem has been patched in version 1.0.2.

Original NVD text.

What to do

  1. Apply the vendor's security update for Lettersanitizer.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm lettersanitizer < 1.0.2 1.0.2 npm install lettersanitizer@1.0.2

Per OSV / GitHub Advisories (GHSA-7r3r-gq8p-v9jj). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
lettersanitizer_projectlettersanitizer< 1.0.2

Official sources

References

Links published by the sources. Open them with care.