Special patterns with length > 50K chars can slow down parser significantly.
const md = require('markdown-it')();
md.render(`x ${' '.repeat(150000)} x \nx`);
Upgrade to v12.3.2+
No.
Fix + test sample: https://github.com/markdown-it/markdown-it/commit/ffc49ab46b5b751cd2be0aabb146f2ef84986101
{ "nvd_published_at": "2022-01-10T21:15:00Z", "github_reviewed_at": "2022-01-10T21:50:05Z", "github_reviewed": true, "severity": "MODERATE", "cwe_ids": [ "CWE-1333", "CWE-400" ] }