Security context

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

vercel/styled-jsx
main @ a737ac4
2
Fixes
0
CVEs
HIGH
Peak severity
0.0%
Coverage
Highlights
Cross-Site Scripting: 1 prior fix. Scrutinize any change in this area.
src/stylesheet-registry.js: most-fixed (2 issues). 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): Inadequate sanitization of dynamic styles during Server-Side Rendering (SSR) allows attackers to inject closing style tags and escape the style block to execute arbitrary script.
Cross-Site Scripting: A case-sensitive sanitization bypass allowed attackers to inject style blocks using mixed-case style tags, which was addressed by switching to a case-insensitive replacement.