Security context

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

awesomemotive/all-in-one-seo-pack
master @ 3e4a927
13
Fixes
0
CVEs
HIGH
Peak severity
11.1%
Coverage
Highlights
Auth Bypass: 5 prior fixes. Scrutinize any change in this area.
app/Common/Admin/Admin.php: most-fixed (2 issues). Treat as high-risk during review.
7 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: REST API endpoints were registered using permissive authorization schemas, allowing unauthenticated users to access sensitive administrative endpoints and configurations. Developers must ensure 'everyone' or empty permission handlers are not used for privileged APIs.
Deserialization: The use of standard 'maybe_unserialize' on untrusted import data allowed PHP Object Injection (POI) attacks, which can lead to remote code execution. Untrusted input must never be processed using native PHP unserialization.
Broken Access Control: Missing capability checks on the AI-generated image deletion REST endpoints allowed unauthorized users to invoke destructive functions such as post and attachment deletion.