Security context

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

glincker/thesvg
main @ 0adc79b
2
Fixes
0
CVEs
MEDIUM
Peak severity
50.0%
Coverage
Highlights
Reflected XSS: 1 prior fix. Scrutinize any change in this area.
extensions/alfred/info.plist: 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.

Reflected XSS: The component directly uses dangerouslySetInnerHTML to render user-supplied SVG content, which allows malicious script execution, interactive element hijacking (via foreignObject), or inline event handlers if input is not rigorously sanitized.
Shell Injection: User inputs passed directly into the Run Script configuration of the Alfred workflow can lead to arbitrary command execution on the host machine if escaping options are disabled or configured incorrectly.