{"id":"CVE-2022-31103","aliases":["GHSA-7r3r-gq8p-v9jj"],"url":"https://o3.security/vulnerability/CVE-2022-31103","summary":"Improper handling of CSS at-rules in lettersanitizer","details":"### Impact\n\nAll versions of lettersanitizer below 1.0.2 are affected by a denial of service issue when processing a CSS at-rule `@keyframes`.\n\nThis package is depended on by [react-letter](https://github.com/mat-sz/react-letter), therefore everyone using react-letter is also at risk.\n\n### Patches\n\nThe problem has been patched in version 1.0.2.\n\n### Workarounds\n\nThere is no workaround besides upgrading.\n\n### References\n\nThe issue was originally reported in the react-letter repository: https://github.com/mat-sz/react-letter/issues/17\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [lettersanitizer](https://github.com/mat-sz/lettersanitizer/issues)\n* Email me at [contact@matsz.dev](mailto:contact@matsz.dev)\n","published":"2022-06-27T22:20:16Z","modified":"2026-10-28T02:31:04.572621399Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"epss":{"score":0.01447,"percentile":0.70889,"asOf":"2026-08-23"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"lettersanitizer","fixedVersion":"1.0.2"}],"fix":{"url":"https://github.com/mat-sz/lettersanitizer/commit/96d3dfe2ef0465d47324ed4d13e91ba0816a173f","label":"mat-sz/lettersanitizer@96d3dfe"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31103.json"},{"type":"ADVISORY","url":"https://github.com/mat-sz/lettersanitizer/security/advisories/GHSA-7r3r-gq8p-v9jj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31103"},{"type":"REPORT","url":"https://github.com/mat-sz/react-letter/issues/17"},{"type":"FIX","url":"https://github.com/mat-sz/lettersanitizer/commit/96d3dfe2ef0465d47324ed4d13e91ba0816a173f"},{"type":"PACKAGE","url":"https://github.com/mat-sz/lettersanitizer"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-28T02:31:04.572621399Z"}}