Security context

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

wp-plugins/google-sitemap-generator
master @ 4444cc4
2
Fixes
0
CVEs
MEDIUM
Peak severity
100.0%
Coverage
Highlights
Auth Bypass: 1 prior fix. Scrutinize any change in this area.
sitemap-core.php: most-fixed (1 issue). Treat as high-risk during review.
0 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.

Auth Bypass: The use of deprecated privilege levels (such as 'level_10') for administrative pages allows unauthorized access. Standardizing on explicit, modern roles like 'administrator' is required to prevent authorization bypasses on administrative settings.
Reflected XSS: Diagnostic screens and ping tests that output results directly to the user are susceptible to Reflected XSS. Implementing secure HTML output encoding (such as wp_kses) is necessary to mitigate malicious payload injection via diagnostic responses.