Highlights
Reflected XSS: 2 prior fixes. Scrutinize any change in this area.
includes/log/top-pages.php: most-fixed (2 issues). Treat as high-risk during review.
3 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.
SQL Injection: Flawed IP validation allowed SQL injection payloads within HTTP headers to bypass checks, showing that incorrect variable mapping in tracking handlers can expose database queries to injection attacks.
Stored XSS: Database-retrieved fields like referring URLs and page URIs were rendered in admin logs without escaping, enabling persistent script execution in the context of authenticated administrative sessions.
SQL Injection: Page URI tracking functions historically appended unescaped input variables directly to queries, requiring explicit esc_sql sanitization on all raw tracking inputs.