High severity · published Aug 28, 2026
CVE-2026-5934
WP Rocket <= 3.21.0.1 - Unauthenticated Stored Cross-Site Scripting via Picture Source Attributes in rocket_beacon Endpoint
7.2
CVSS
0.3%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 28% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
WR
WP Rocket · WP Media
through 3.21.0.1 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-5934
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-5934
github.com
https://github.com/wp-media/wp-rocket/releases/tag/v3.21.1
www.wordfence.com
https://www.wordfence.com/threat-intel/vulnerabilities/id/3560bf50-2190-4469-9d92-b6b59f118324?source=cve
More from WP Rocket
7.5
CVE-2026-97076
WordPress WP Rocket plugin < 3.23.5 - Denial of Service Attack vulnerability
6.5
CVE-2026-97075
WordPress WP Rocket plugin < 3.23.5 - Broken Access Control vulnerability
5.9
CVE-2026-28044
WordPress WP Rocket plugin <= 3.19.4 - Cross Site Scripting (XSS) vulnerability
