parse5 7.0.0 before 8.1.1 contains an uncaught exception vulnerability in Preprocessor#_processSurrogate that allows remote attackers to crash applications by supplying two consecutive low surrogates. Attackers can submit input such as U+DC00 U+DC00, which decodes to out-of-range code point 0x110000 and throws a RangeError from parse, parseFragment, or streaming parsers, crashing Node.js processes.
https://github.com/inikulin/parse5/releases/tag/v8.1.1
https://github.com/inikulin/parse5/pull/1921
https://github.com/inikulin/parse5/commit/9b57bf87db292b54337554d2fd21b2a54f0f1a36
https://github.com/inikulin/parse5/blob/v8.1.0/packages/parse5/lib/tokenizer/preprocessor.ts#L80-L93