Security advisorywp2shell: WordPress core vulnerability. Confirm every site is on 6.8.6, 6.9.5, 7.0.2, or newer.

Read the advisory

REST API

Definition

The WordPress REST API is an HTTP JSON interface at /wp-json/ used by the editor, apps, and many plugins.

Also called: WordPress REST API, WP REST API, wp-json

Why it matters for WordPress

/wp-json/ is how the block editor and countless plugins talk to WordPress. It is also a discovery surface: user enumeration, authenticated routes, and plugin endpoints that forget capability checks. Killing the entire REST API often breaks Gutenberg. The job is to understand what you expose, not to yank the fuse blindly.

How it shows up in practice

  • Enumerated users via public author or user routes (when not restricted)
  • Brute force or stuffing against application-password protected routes
  • Plugin REST endpoints with weak permission callbacks in CVE write-ups
  • Headless or mobile apps that depend on specific namespaces staying open

What to do

  1. Keep WordPress and plugins updated; many REST bugs are permission mistakes.
  2. Prefer application passwords or proper OAuth-style flows over sharing the main admin password with apps.
  3. Rate-limit abusive auth attempts the same way you would for wp-login.php.
  4. Only disable specific routes you do not need, and test the editor after changes.
  5. Treat XML-RPC and REST as related surfaces: close what you do not use, harden what you do.

Nearby ideas in the dictionary

All terms →