Highlights
Denial of Service: 1 prior fix. Scrutinize any change in this area.
main.go: most-fixed (2 issues). Treat as high-risk during review.
0 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.
Reflected XSS: User-supplied query parameters (such as 'state') were previously rendered directly into HTML templates without sufficient early validation, allowing attackers to execute arbitrary scripts in the context of the user's session. Future handlers must validate all query parameters early and return plain text errors.
Denial of Service: Concurrent access to a shared package-scope HTML template variable caused data races and runtime panics, exposing the application to denial of service. Developers must ensure template instances are immutable or scoped locally within handlers.