Highlights
Cross-Site Scripting (XSS): 2 prior fixes. Scrutinize any change in this area.
packages/bytemd/src/utils.ts: most-fixed (2 issues). Treat as high-risk during review.
2 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Cross-Site Scripting (XSS): Mutating a shared global HTML sanitization schema allowed bypasses across instances, leading to persistent or reflected XSS depending on how the Markdown parser is utilized.
Cross-Site Scripting (XSS): Running AST-modifying plugins after or independent of the sanitization step allowed custom plugin transformers to introduce raw, unescaped HTML elements that bypass the processor sanitization step.