{"id":"GHSA-7r3r-gq8p-v9jj","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","aliases":["CVE-2022-31103"],"modified":"2023-11-08T04:09:26.205914Z","published":"2022-06-23T17:48:19Z","database_specific":{"nvd_published_at":"2022-06-27T23:15:00Z","cwe_ids":["CWE-754"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2022-06-23T17:48:19Z"},"references":[{"type":"WEB","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":"WEB","url":"https://github.com/mat-sz/react-letter/issues/17"},{"type":"WEB","url":"https://github.com/mat-sz/lettersanitizer/commit/96d3dfe2ef0465d47324ed4d13e91ba0816a173f"},{"type":"PACKAGE","url":"https://github.com/mat-sz/lettersanitizer"}],"affected":[{"package":{"name":"lettersanitizer","ecosystem":"npm","purl":"pkg:npm/lettersanitizer"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.0.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-7r3r-gq8p-v9jj/GHSA-7r3r-gq8p-v9jj.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}