Highlights
Cross-Site Scripting (XSS): 2 prior fixes. Scrutinize any change in this area.
apps/calendar/src/components/template.tsx: most-fixed (1 issue). Treat as high-risk during review.
1 high-severity fix 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): The rendering of raw HTML templates using React's dangerouslySetInnerHTML posed a critical XSS risk prior to the enforcement of DOMPurify sanitization. This allowed arbitrary payload execution in the context of the user's browser.
Cross-Site Scripting (XSS): Improper handling of anchor attributes inside sanitized outputs could allow bypasses or reverse tabnabbing. This required registering custom DOMPurify hooks to safely manage target and rel attributes.