CVE-2022-31103
published high CVSS 3.1 · 7.5Improper handling of CSS at-rules in lettersanitizer
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| mat-sz | — | lettersanitizer< 1.0.2 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| mat-sz | lettersanitizer | < 1.0.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-754 CWE-754: Improper Check for Unusual or Exceptional Conditions
References
3Provider assertions
3GitHub_M · cna
Improper handling of CSS at-rules in lettersanitizer
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- acf801b1535cc75e34bffb9c00504e7e6e9624767b756958bb1b6284f4ea798d
- Ingested
- 23 Sep 2026, 08:00:25 UTC
- Source record
- Official CVE record