WP Manifestindependent plugin directory
manifest / security / wp-prevent-cache-poison

JT REST API Cache Poisoning Fix

Prevents a common cache poisoning scenario on enterprise websites

by Johns & Taylor · github.com/johnsandtaylor/wp-prevent-cache-poison · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/johnsandtaylor/wp-prevent-cache-poison/archive/refs/heads/main.zip

From the readme

Prevents cache poisoning attacks via attacker-controlled override and host headers, and restricts REST API endpoint exposure. This plugin mitigates a class of cache poisoning vulnerabilities where attackers can send special HTTP headers to cause empty, altered, or attacker-influenced responses to be cached by upstream caching layers (like Pagely ARES), breaking the site for legitimate users or feeding poisoned content (canonical URLs, password-reset emails, RSS feeds) to other visitors. What it does: Rejects requests with method-override or URL-rewrite headers immediately with 400 Bad Request Silently strips host-poisoning headers (X-Forwarded-Host etc.) so WordPress falls back to the real Host header Returns aggressive no-cache headers to prevent upstream cache poisoning of error responses Blocks method parameter-based method overrides (used by some frameworks) Adds Vary headers to REST API responses for cache key differentiation Includes Pagely ARES-specific headers (X-Accel-Expires, Surrogate-Control) Logs blocked attempts when WPDEBUG is enabled Auto-updates from GitHub releases (no WordPress.org dependency) Headers rejected (HTTP 400): X-HTTP-Method-Override X-H

Read the full README on GitHub →

Releases

TagPublished
v1.5.0 Apr 29, 2026
v1.4.0 Mar 27, 2026
v1.3.3 Jan 24, 2026
v1.3.2 Jan 24, 2026
v1.3.1 Jan 24, 2026
v1.3.0 Jan 24, 2026
v1.2.0 Jan 20, 2026
v1.1.0 Dec 11, 2025

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.