Cron Background Job Security

Use when scheduling WordPress cron events with wp_schedule_event / wp_schedule_single_event or writing the callback that runs on a cron hook. Treats cron callbacks as running without a logged-in user, re-checks authorization against stored context rather than current_user_can, keeps secrets out of cron URLs, and validates any stored input the job consumes. Prevents unauthenticated privileged actions via the cron surface.

wpultimatesecurity e5f795e 3 files · 13.4 KB Updated

File contents

wpultimatesecurity/WordPress-Security-Skills/tree/main/skills/cron-background-job-security commit e5f795ee45

Frequently asked questions

npx skillmds@latest add wpultimatesecurity/cron-background-job-security