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.
Remediation
References
https://github.com/mat-sz/lettersanitizer/commit/96d3dfe2ef0465d47324ed4d13e91ba0816a173f
https://github.com/mat-sz/lettersanitizer/security/advisories/GHSA-7r3r-gq8p-v9jj
https://github.com/mat-sz/react-letter/issues/17
Related Vulnerabilities
CVE-2019-16767 Vulnerability in npm package ezmaster
CVE-2023-40185 Vulnerability in npm package shescape
CVE-2021-23362 Vulnerability in npm package hosted-git-info
CVE-2023-34238 Vulnerability in npm package gatsby-transformer-remark
CVE-2020-25711 Vulnerability in maven package org.infinispan:infinispan-server-runtime