Open PoppingSnack opened 1 year ago
@PoppingSnack, thank you for reporting this. I will have to look at the regex to figure out why it loops and how to avoid it. It is a serious bug. I wrote the library to avoid infinite or near infinite parsing loops in pegdown. 🙃
Description
A carefully crafted Markdown Text can trigger an infinite loop while loading the text.
Error Log
PoC
References
https://github.com/vsch/flexmark-java/blob/b38192bca2382167796f401bd8aa7827ea3331db/flexmark/src/main/java/com/vladsch/flexmark/parser/LightInlineParserImpl.java#L163