WP Media WP Rocket Plugin Cross-Site Scripting Vulnerability

Vulnerability

A stored cross-site scripting vulnerability has been identified in the WP Rocket plugin for WordPress, affecting versions through 3.19.4. This issue allows for improper neutralization of input during web page generation, enabling the injection of malicious scripts that could be executed when visitors access the affected site.

Impact

Exploitation of this vulnerability allows for stored cross-site scripting, where injected scripts are executed in the context of the user visiting the site.

Remediation

Users of the WP Rocket plugin should update to version 3.20.0.2 or later. Patchstack users can enable auto-update for vulnerable plugins.

Added: Mar 19, 2026, 6:18 AM
Updated: Mar 19, 2026, 6:18 AM

Vulnerability Rating

Custom Algorithm
spread
6.4
impact
1.7
exploitability
5.0
remediation
7.7
relevance
4.1
threat
0.0
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.