Security context

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

doctrine/sql-formatter
1.5.x @ 028a350
1
Fixes
0
CVEs
MEDIUM
Peak severity
Highlights
Reflected XSS: 1 prior fix. Scrutinize any change in this area.
SqlFormatter.php: 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: Unsanitized SQL tokens passed to the formatter could contain malicious HTML or scripts, which are executed in the user's browser context when the formatted SQL is output directly without proper encoding.