{"cve":"CVE-2022-31103","nvd":{"published":"2022-06-27T23:15:08.170","modified":"2026-06-17T04:44:48.233","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-754"],"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","https://github.com/mat-sz/lettersanitizer/commit/96d3dfe2ef0465d47324ed4d13e91ba0816a173f","https://github.com/mat-sz/lettersanitizer/security/advisories/GHSA-7r3r-gq8p-v9jj"],"products":["lettersanitizer_project:lettersanitizer"],"source":"nvd","synced_at":"2026-10-19T21:32:39.174919249+00:00"},"epss":{"cve":"CVE-2022-31103","score":0.01526,"percentile":0.74688,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-7r3r-gq8p-v9jj","url":"https://osv.dev/vulnerability/GHSA-7r3r-gq8p-v9jj","summary":"Improper handling of CSS at-rules in lettersanitizer","modified":"2023-11-08T04:09:26.205914Z","packages":[{"ecosystem":"npm","name":"lettersanitizer","purl":"pkg:npm/lettersanitizer","ranges":["<1.0.2"],"fixed":["1.0.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}