CVE-2026-5934
Deferred Deferred - Pending Action

Stored Cross-Site Scripting in WP Rocket WordPress Plugin

Vulnerability report for CVE-2026-5934, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-28

Last updated on: 2026-08-28

Assigner: Wordfence

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-28
Last Modified
2026-08-28
Generated
2026-08-29
AI Q&A
2026-08-28
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
wp_rocket wp_rocket to 3.21.0.1 (inc)
wp_media wp_rocket to 3.21.0.1 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a Stored Cross-Site Scripting (XSS) issue in the WP Rocket WordPress plugin up to version 3.21.0.1. It occurs because user input is not properly sanitized or escaped via the rocket_beacon AJAX endpoint. Attackers can inject malicious scripts into web pages without authentication, which execute when users view those pages.

Detection Guidance

To detect this vulnerability, check if the WP Rocket plugin version is 3.21.0.1 or lower. Inspect network traffic for suspicious AJAX requests to the rocket_beacon endpoint. Review WordPress pages for unexpected scripts or unusual content in pages served by the plugin.

Impact Analysis

Unauthenticated attackers could inject harmful scripts into your WordPress site. When visitors access affected pages, these scripts may steal cookies, session tokens, or sensitive data, or perform actions on their behalf without consent.

Compliance Impact

This vulnerability could lead to unauthorized data access or modification, violating GDPR's data protection principles or HIPAA's security requirements for protected health information. Non-compliance may result in legal penalties or reputational damage.

Mitigation Strategies

Immediately update the WP Rocket plugin to the latest version. If an update is not available, consider disabling the plugin temporarily until a patch is released. Monitor your site for signs of compromise and remove any injected scripts.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-5934. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart