Skip to content

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

HighCVSS 7.2 EPSS 0.34%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
WordPress

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
wordpress wp-rocket(WordPress) < 3.21.1 3.21.1 Fixed
WP Media WP Rocket <= 3.21.0.1 after 3.21.0.1 Fixed

Affected products

ProductAffected versionsFixed in
WP Media WP Rocket <= 3.21.0.1 No fix listed
wordpress wp-rocket(WordPress) < 3.21.1 3.21.1

References