Security context

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

marmelab/react-admin
master @ 52c530b
22
Fixes
1
CVEs
HIGH
Peak severity
25.0%
Coverage
Highlights
Auth Bypass: 16 prior fixes. Scrutinize any change in this area.
packages/ra-core/src/auth/Authenticated.tsx: most-fixed (2 issues). Treat as high-risk during review.
4 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: Protected child elements were rendered before asynchronous authentication checks had fully settled or when checkAuth returned an error, directly bypassing route guards.
Stored XSS: Rendering raw HTML with dangerouslySetInnerHTML without comprehensive client-side sanitization allowed execution of malicious scripts.
Auth Bypass: Standard data controllers initiated database queries and state updates before establishing user identity.