Security context

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

iOfficeAI/OfficeCLI
main @ e402d28
35
Fixes
0
CVEs
HIGH
Peak severity
29.4%
Coverage
Highlights
Reflected XSS: 12 prior fixes. Scrutinize any change in this area.
src/officecli/Core/Watch/WatchServer.cs: most-fixed (3 issues). Treat as high-risk during review.
24 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: 12 fixes across multiple preview components all stem from interpolating unvalidated color values, font names, or hyperlink URIs into inline CSS/HTML, enabling script execution via crafted OOXML.
SSRF / DNS Rebinding: Outbound HTTP fetches and the loopback watch server were repeatedly exploited to reach internal resources or cross-origin APIs; fixes required connect-time IP validation and host/origin allowlists.
Supply Chain / Code Execution: