What’s Vulnerable › Vulnerabilities

CVE-2024-6870: Responsive Lightbox & Gallery <= 2.4.7 - Authenticated (Author+) Stored Cross-Site Scripting via File Upload

Description

The Responsive Lightbox & Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via file uploads in all versions up to, and including, 2.4.7 due to insufficient input sanitization and output escaping affecting the rl_upload_image AJAX endpoint. This makes it possible for authenticated attackers, with Author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses the 3gp2 file.

Affected products

How to fix

Upgrade to a fixed version: dfactory Responsive Lightbox & Gallery 2.4.8. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-6870 or the next vulnerability affects your stack