Affected versions of this package are vulnerable to Uncaught Exception in the Preprocessor class, whose _processSurrogate method pairs a code unit with a following low surrogate without confirming the first unit is a high surrogate. Two consecutive low surrogates such as U+DC00 U+DC00 decode to the out-of-range code point 0x110000, and String.fromCodePoint throws a RangeError that propagates out of parse, parseFragment, and the SAX and streaming parsers. An attacker who can supply HTML to an application that parses it, directly or through a dependent such as cheerio or jsdom, can crash the Node.js process with a few bytes of input. This affects parse5 built on the TypeScript tokenizer, where characters are emitted with String.fromCodePoint.