Security context

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

markmead/hyperui
main @ 384047d
2
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Reflected XSS: 2 prior fixes. Scrutinize any change in this area.
src/components/ComponentPreview.astro: 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.

Reflected XSS: Unsafe innerHTML manipulation during the dynamic rendering of search results allowed arbitrary script execution if user-controlled search queries were reflected without proper sanitization.
Reflected XSS: Injecting syntax-highlighted HTML snippets via innerHTML into the component preview element exposed the application to DOM-based XSS, which was resolved by utilizing textContent.