Security context

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

genesislab-io/beatai
main @ afd59fe
1
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Stored XSS: 1 prior fix. Scrutinize any change in this area.
src/components/docs/DocContent.js: 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.

Stored XSS: Unsanitized Markdown content containing raw HTML could execute arbitrary scripts in the victim's browser session. The fix introduced structural sanitization using rehype-sanitize alongside rehype-raw to prevent the execution of malicious elements and attributes.