Skip to main content

WP Rocket EUVDEUVD-2026-67709

| CVE-2026-5934 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-08-28 Wordfence GHSA-62h2-h5j2-2gx8
7.2
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send unauthenticated POST to rocket_beacon AJAX endpoint
  2. Delivery
    Inject unsanitized JavaScript payload into stored data
  3. Exploit
    Payload persists in database
  4. Execution
    Victim user visits injected page
  5. Persist
    Script executes in victim browser
  6. Impact
    Exfiltrate session tokens or hijack admin session

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

No special conditions are required for the storage phase - the rocket_beacon AJAX endpoint is reachable by unauthenticated HTTP clients against any WordPress installation running WP Rocket 3.21.0.1 or earlier, with no plugin configuration changes or non-default settings needed. The primary limiting factor is that payload execution requires a separate victim user to visit a page where the injected script has been stored (secondary user interaction); the attacker cannot directly control when or whether this occurs. Exploitation is bounded to WordPress sites with the WP Rocket plugin active and installed at a vulnerable version.

Impact

The CVSS base score of 7.2 with vector AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N signals a network-exploitable, low-complexity, unauthenticated vulnerability with changed scope. In practice, per-victim impact is limited to low confidentiality and low integrity - consistent with session cookie theft or DOM manipulation rather than direct server compromise. No EPSS score, KEV listing, or public POC was present in the provided intelligence, so automated or widespread exploitation cannot be confirmed; however, the low attack complexity makes this vulnerability class straightforward to operationalize once a researcher identifies the unsanitized parameter. The UI:N metric in the provided CVSS vector is debatable for stored XSS: a victim must visit the affected page before the stored payload executes, which is a secondary triggering condition defenders should account for. WP Rocket's high deployment footprint across WordPress sites amplifies aggregate risk even though individual-instance impact is moderate, making this a genuine remediation priority rather than a theoretical concern.

Exploit ScenarioDerived

An unauthenticated attacker sends a crafted HTTP POST request to the WordPress admin-ajax.php endpoint invoking the rocket_beacon action, embedding a JavaScript payload in an unsanitized parameter. The server stores the payload without adequate sanitization, and it is subsequently rendered unescaped into pages served to legitimate site visitors. An administrator who visits the affected page then unknowingly executes the attacker's script, which could steal session tokens and enable full administrative account takeover.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 28, 2026

Stored Cross-Site Scripting in WP Rocket versions up to and including 3.21.0.1 allows unauthenticated remote attackers to inject persistent malicious scripts via the rocket_beacon AJAX endpoint. Any user who subsequently visits a page where the payload has been stored will execute the attacker-controlled script in their browser context. A patched release (v3.21.1) is available from WP Media, and no public exploit or active exploitation has been identified in the provided data.

RemediationAI

Upgrade WP Rocket to version 3.21.1, available at https://github.com/wp-media/wp-rocket/releases/tag/v3.21.1. Important caveat: the published v3.21.1 release notes describe only enhancements and data-collection bugfixes and do not explicitly reference XSS remediation - the patch attribution to this version is based on the Wordfence advisory cross-reference rather than a confirmed changelog entry, so administrators should verify with WP Media support if certainty is required. If an immediate upgrade is not feasible, deploying a web application firewall rule to block or sanitize unauthenticated POST requests targeting the rocket_beacon AJAX action (admin-ajax.php?action=rocket_beacon) can reduce exposure, though doing so may impair plugin functionality that depends on this endpoint, requiring testing before production deployment.

Affected VersionsENISA

WP Rocket 0 ≤3.21.0.1

Affected Packages

euvd wp_rocket no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

WP Rocket (CPE: cpe:2.3:a:wp_media:wp_rocket:*:*:*:*:*:*:*:*) is a premium WordPress caching and performance optimization plugin developed by WP Media. The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation), arising from insufficient sanitization of user-supplied input received via the rocket_beacon AJAX action before it is stored, combined with missing output escaping when that stored value is later rendered into page HTML. WordPress AJAX endpoints registered under wp_ajax_nopriv_ are reachable by unauthenticated HTTP clients, which is the mechanism enabling the PR:N exploitation path. The CVSS Scope Changed (S:C) metric reflects that successful exploitation crosses the security boundary from the server to the victim's browser environment, a characteristic of stored XSS attacks.

Know when Wp Rocket gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Wordfence) PRIMARY 7.2 HIGH
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 6.1 MEDIUM

Stored XSS payload execution requires a victim to visit the injected page (UI:R); scope change, network vector, and low C/I impacts are consistent with the provided data.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

The WP Rocket plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to, and including, 3.21.0.1. This is due to insufficient input sanitization and output escaping of user-supplied data via the rocket_beacon AJAX endpoint. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

Executive ViewAI

Why It Matters

WP Rocket contains a stored cross-site scripting vulnerability allowing unauthenticated attackers to inject persistent malicious scripts that execute for all site visitors. Organizations using this plugin face immediate risk of session hijacking, credential theft, and malware distribution. A patched version is available from the vendor.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
High
popular premium WordPress caching plugin with large global install base
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy