Description: Markup: fixed ReDoS
Author: ready-research
Origin: upstream, https://github.com/prismjs/prism/commit/0ff371bb
Bug: https://security-tracker.debian.org/tracker/CVE-2021-40438
Forwarded: not-needed
Reviewed-By: Yadd <yadd@debian.org>
Last-Update: 2021-09-21

--- a/components/prism-markup.js
+++ b/components/prism-markup.js
@@ -1,5 +1,5 @@
 Prism.languages.markup = {
-	'comment': /<!--[\s\S]*?-->/,
+	'comment': /<!--(?:(?!<!--)[\s\S])*?-->/,
 	'prolog': /<\?[\s\S]+?\?>/,
 	'doctype': {
 		// https://www.w3.org/TR/xml/#NT-doctypedecl
