Security context

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

alextselegidis/easyappointments
main @ 359c364
41
Fixes
0
CVEs
HIGH
Peak severity
45.2%
Coverage
Highlights
Auth Bypass: 9 prior fixes. Scrutinize any change in this area.
src/application/config/config.php: most-fixed (4 issues). Treat as high-risk during review.
30 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.

Auth Bypass: Multiple independent auth bypass fixes across different components show a systemic weakness in enforcing authentication and role-based access control, especially on appointment search, API endpoints, and backend pages.
CSRF: CSRF protections were repeatedly added or fixed across the codebase, including token generation, validation, and frontend integration, indicating a history of missing or broken CSRF defenses on state-changing operations.
XSS (Reflected/Stored): Both stored and reflected XSS were found in booking settings, custom field labels, service names, and booking confirmation, with fixes applying output encoding and sanitization inconsistently across views and JS.