Security advisorywp2shell: WordPress core vulnerability. Updated August 4, 2026.

Read the advisory

WordPress nonce

Definition

A WordPress nonce is a short-lived token used to verify that a request was intentional, mainly to reduce CSRF risk.

Also called: nonce, wpnonce, wp_nonce

Why it matters for WordPress

Core and well-built plugins attach nonces to admin forms and AJAX calls so a random third-party page cannot easily forge those actions while you are logged in. A missing or unchecked nonce shows up in CVE write-ups constantly. A nonce is not encryption, and it is not a substitute for capability checks.

How it shows up in practice

  • Hidden _wpnonce fields on settings forms
  • URLs with ?_wpnonce= on one-click actions
  • Advisories that say “missing nonce verification” on a privileged endpoint
  • Expired nonce errors after leaving an admin tab open too long

What to do

  1. Keep WordPress and plugins updated when nonce-related bugs ship.
  2. In custom code, verify nonces and current_user_can( ... ) together.
  3. Do not treat “the URL is obscure” as protection.
  4. If you build admin UI, fail closed when the nonce is missing or wrong.

Nearby ideas in the dictionary

All terms →