Security context

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

steven-jianhao-li/zotero-ai-butler
main @ fe047a4
2
Fixes
0
CVEs
MEDIUM
Peak severity
0.0%
Coverage
Highlights
DOM XSS: 1 prior fix. Scrutinize any change in this area.
src/modules/ItemPaneSection.ts: most-fixed (1 issue). 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.

DOM XSS: Untrusted HTML content rendered in the sidebar note editor can lead to DOM-based XSS if assigned directly to innerHTML without sanitization. Attackers could execute arbitrary script in the context of the Zotero extension by manipulating stored notes.
Reflected XSS: Rendering library metadata using innerHTML in the Library Scanner view allows malicious metadata to execute arbitrary JavaScript, presenting a reflected or stored XSS risk within the client interface.