Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

shurcool/github_flavored_markdown
main @ c3a9aa4
2
Fixes
1
CVEs
HIGH
Peak severity
Highlights
Cross-Site Scripting (XSS): 2 prior fixes. Scrutinize any change in this area.
main.go: 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): Bypasses in markdown HTML sanitization allow attackers to inject malicious HTML payloads directly into the rendered output, resulting in full XSS execution context. Prior fixes required integrating a sanitization library and restricting class attribute tokens.
Denial of Service (DoS): Inefficient parsing of specific table structures in the markdown parser extension can lead to severe CPU utilization spikes, resulting in a denial of service. Developers must verify input complexity limits or use patched parser extensions.