Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend unauthenticated POST to rocket_beacon AJAX endpoint
-
DeliveryInject unsanitized JavaScript payload into stored data
-
ExploitPayload persists in database
-
ExecutionVictim user visits injected page
-
PersistScript executes in victim browser
-
ImpactExfiltrate 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
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.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
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.
Articles & Coverage 1
Executive ViewAI
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
In the WP Rocket plugin 2.9.3 for WordPress, the Local File Inclusion mitigation technique is to trim traversal characte
Denial-of-service condition in WP Rocket versions before 3.23.5 can be triggered by unauthenticated remote attackers wit
Missing authorization in WP Rocket for WordPress before 3.23.5 exposes plugin actions that lack proper capability checks
Stored cross-site scripting in WP Rocket before 3.24.1 lets an authenticated user with low privileges persist script con
WP Rocket, a popular WordPress performance optimization plugin, contains a Stored Cross-Site Scripting (XSS) vulnerabili
EUVD-2026-67709
GHSA-62h2-h5j2-2gx8
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB