Security context

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

shurcool/go
main @ 5fe729b
2
Fixes
5
CVEs
HIGH
Peak severity
Highlights
Cross-Site Scripting (XSS): 2 prior fixes. Scrutinize any change in this area.
github_flavored_markdown: most-fixed (1 issue). 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): Insufficent validation of 'class' attributes on GFM markdown elements could allow malicious HTML injection if token-level restrictions are not enforced.
Cross-Site Scripting (XSS): Directly rendering GitHub Flavored Markdown without a strict HTML sanitization policy (such as 'bluemonday.UGCPolicy') exposes the application to arbitrary JavaScript execution.