Highlights
Open Redirect: 3 prior fixes. Scrutinize any change in this area.
lib/response.js: most-fixed (8 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.
Open Redirect: Inconsistent URL handling, parsing bypasses, and hostname modifications during URL encoding in res.location and res.redirect functions allow attackers to craft open redirect vectors that bypass strict destination allowlists.
Reflected XSS: Generating default fallback HTML, parsing javascript: URI schemes within anchor tags, and using unsanitized redirect targets in plain text formats inside redirect operations have repeatedly allowed malicious javascript execution.
Prototype Pollution: Extended query parsing operations can pollute the JavaScript global prototype object if parsed query strings are not strictly handled using plain objects.