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

Read the advisory
Hardening Dictionary

Security headers

Definition

Security headers are HTTP response headers that tell browsers how to treat your pages for safer defaults.

Also called: HTTP security headers, HSTS, X-Frame-Options

Why it matters for WordPress

Headers will not patch a vulnerable plugin. They still reduce common browser-side risks: forcing HTTPS (HSTS), blocking easy clickjacking, tightening what scripts can run when you use CSP carefully. Many hosts and CDNs can send them without a plugin pile-on.

How it shows up in practice

  • Strict-Transport-Security on an HTTPS site
  • X-Frame-Options or frame-ancestors limiting who can iframe you
  • Content-Security-Policy that breaks a page builder if set too tight on day one
  • Security test checklists that flag missing headers on production

What to do

  1. Finish HTTPS properly before turning on HSTS with a long max-age.
  2. Start with simple framing protections, then consider CSP once you can test the front end.
  3. Prefer host or CDN configuration when you can; fewer moving parts in WordPress.
  4. Re-test checkout, embeds, and admin after any header change.

Go deeper

Want the full walkthrough?

This page stays short on purpose. The guide covers steps, examples, and what to check on a live WordPress site.

Open full guide

Nearby ideas in the dictionary

All terms →