CVE-2026-5934 HIGH

CVE-2026-5934: WP Rocket <= 3.21.0.1 - Unauthenticated Stored Cross-Site Scripting via Picture Source Attributes in rocket_beacon Endpoint

Vendor Wp Media
Product WP Rocket
Weakness CWE-79 · XSS
Published August 28, 2026
Last update August 28, 2026

CVSS base score

7.2/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

What the vulnerability does

01Description

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.

Explanation of Vulnerability in Simple Terms

02Summary

WP Rocket versions up to 3.21.0.1 contain a cross-site scripting vulnerability that allows unauthenticated attackers to inject malicious scripts into the site. The vulnerability affects the scope beyond the vulnerable component, potentially impacting other parts of the application. Site administrators should update to a version newer than 3.21.0.1 to remediate this issue.

What an attacker can do

03Attacker Capabilities

Inject malicious JavaScript that executes in visitors' browsers and affects other site functionality.

Potential impact on your site

04Site Impact

Visitors' browsers could execute attacker-controlled scripts, potentially stealing data or redirecting users.

Conditions required to exploit

05Prerequisites

No authentication or user interaction required; attacker can exploit this over the network.

Key dates

06Disclosure timeline

August 28, 2026 CVE published

Related vulnerabilities

08Related CVE