Highlights
Auth Bypass: 30 prior fixes. Scrutinize any change in this area.
kitsune/users/auth.py: most-fixed (5 issues). Treat as high-risk during review.
48 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: The largest risk class; fixes repeatedly add missing permission checks, ownership checks, and group-based authorization. Inconsistent enforcement across views, APIs, and templates creates bypass opportunities.
Cross-Site Scripting (XSS): Recurring XSS from unsafe HTML sanitization (bleach bypass), unescaped filenames in attributes/DOM, and unescaped interpolation. Both server-side and client-side fixes needed.
Insecure Deserialization: Pickle serialization in Celery tasks allowed RCE via crafted payloads. Fixed by passing primitive IDs instead of model instances. Must never reintroduce pickle.