In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade @chenglou/pretext to version 0.0.5 or higher.
@chenglou/pretext is a Fast, accurate & comprehensive text measurement & layout
Affected versions of this package are vulnerable to Inefficient Algorithmic Complexity through the isRepeatedSingleCharRun function during text analysis. An attacker can cause significant performance degradation and block the main thread by submitting large inputs consisting of repeated identical punctuation characters.