Highlights
SSRF: 4 prior fixes. Scrutinize any change in this area.
lib/restricted_http/private_network_guard.rb: most-fixed (4 issues). Treat as high-risk during review.
9 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.
SSRF: Four separate fixes were needed to block IPv6-mapped, IPv4-compatible, and link-local addresses, indicating the guard is repeatedly bypassed by alternative IP encodings.
Auth Bypass: Stock Turbo stream subscriptions lacked membership checks, allowing non-members to receive room messages; fix added checks on subscribe and guarded stream names.
Stored XSS: Message rendering lacked attribute allowlist sanitization, allowing event-handler attributes and unsafe URI schemes; fixed via SanitizeAttributes filter.