Security context

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

instructure/canvas-lms
master @ 1c9f0bb
460
Fixes
0
CVEs
CRITICAL
Peak severity
29.4%
Coverage
Highlights
Auth Bypass: 190 prior fixes. Scrutinize any change in this area.
app/controllers/courses_controller.rb: most-fixed (11 issues). Treat as high-risk during review.
301 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.

Authorization/Authentication Bypass: Dominant vulnerability class; numerous fixes address missing grants_right? checks, overly permissive permission fallbacks, and incomplete token/session validation across controllers, models, and GraphQL.
Stored/Reflected XSS: Persistent XSS through unsanitized user content, dangerouslySetInnerHTML, and sanitizer bypasses (style tags, ids, data-attributes, URL schemes) across client and server rendering paths.
Insecure File/Token Access: Recurring issues with file access via verifiers, UUIDs, and access tokens; fixes require location checks, one-time tokens, and proper permission gating on both server and client URL generation.