What’s Vulnerable › Vulnerabilities

CVE-2022-31103: Improper handling of CSS at-rules in lettersanitizer

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.

Affected products

How to fix

Upgrade to a fixed version: mat-sz lettersanitizer 1.0.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-31103 or the next vulnerability affects your stack