Highlights
Auth Bypass: 4 prior fixes. Scrutinize any change in this area.
packages/plugin-auth/src/module.tsx: most-fixed (3 issues). Treat as high-risk during review.
2 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: Client-side authorization checks failed to correctly bind the reactive authentication state for lazy-loaded components, allowing users to bypass route restrictions. Fixing this required transitioning from direct hook-based models to high-order wrapping elements to ensure the reactive state is consistently evaluated.
Auth Bypass: Flawed logic in checking authorization structures resulted in either blocking valid routes or incorrectly granting access to unauthenticated sessions. Empty permission arrays or missing page settings failed to enforce proper access barriers.
Reflected XSS: The application extracted the current route path and injected it directly into the HTML document template. Without proper escaping, this allowed malicious query parameters or crafted URLs to execute arbitrary JavaScript in the context of the user's browser.