Security context

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

blacksnufkin/litterbox
main @ a609527
2
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Cross-Site Scripting (XSS): 1 prior fix. Scrutinize any change in this area.
app/static/js/results: 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): Unescaped user-controlled scan data was directly inserted into the DOM using innerHTML, allowing arbitrary script execution in the context of the user's session. Future renderers must avoid raw innerHTML assignments.
Reflected XSS: Vulnerabilities existed where dynamic fields like scan_info.target, raw data string representations, and hex_dump components were interpolated into the DOM without proper output encoding.