Highlights
Auth Bypass: 2 prior fixes. Scrutinize any change in this area.
lib/router.js: most-fixed (2 issues). Treat as high-risk during review.
1 high-severity fix 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: Shared/mutated configuration state in http-signature parsing could lead to global options pollution and subsequent request authorization bypass. Developers must enforce strict isolation of request-specific options.
CORS Misconfiguration: Blindly echoing the Origin header during preflight requests allows arbitrary origins to bypass cross-origin restrictions. Allowed origins must be validated against a strict configuration whitelist.
Reflected XSS: Reflecting raw URL paths in ResourceNotFoundError messages enables Reflected XSS. Query parameters and special characters must be explicitly stripped and sanitized before formatting errors.