CVE-2025-2540 Multiple Plugins <= (Various Versions) - Authenticated (Contributor+) Stored DOM-Based Cross-Site Scripting via prettyPhoto JavaScript Library
MediumCVSS 6.4
EPSS 0.34%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- WordPress
Description
Multiple plugins for WordPress are vulnerable to Stored Cross-Site Scripting via the plugin's bundled prettyPhoto library (version 3.1.6) in various versions due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Upgrade path
10 packages: 10 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| devrix Easy Image Gallery | <= 1.5.2 | after 1.5.2 | Fixed |
| fuzzoid Easy 3D Viewer | <= 1.8.6.6 | after 1.8.6.6 | Fixed |
| nayon46 Awesome Wp Image Gallery | <= 1.0 | after 1.0 | Fixed |
| raihancse Awesome Gallery | <= 1.0 | after 1.0 | Fixed |
| wordpress awesome-gallery(WordPress) | <= 1.0 | after 1.0 | Fixed |
| wordpress awesome-wp-image-gallery(WordPress) | <= 1.0 | after 1.0 | Fixed |
| wordpress easy-image-gallery(WordPress) | < 1.5.3 | 1.5.3 | Fixed |
| wordpress woo-3d-viewer(WordPress) | < 1.8.6.7 | 1.8.6.7 | Fixed |
| wordpress wp-video-lightbox(WordPress) | < 1.9.12 | 1.9.12 | Fixed |
| wptipsntricks WP Video Lightbox | <= 1.9.11 | after 1.9.11 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nayon46 Awesome Wp Image Gallery | <= 1.0 | No fix listed |
| raihancse Awesome Gallery | <= 1.0 | No fix listed |
| devrix Easy Image Gallery | <= 1.5.2 | No fix listed |
| fuzzoid Easy 3D Viewer | <= 1.8.6.6 | No fix listed |
| wptipsntricks WP Video Lightbox | <= 1.9.11 | No fix listed |
| wordpress awesome-wp-image-gallery(WordPress) | <= 1.0 | No fix listed |
| wordpress wp-video-lightbox(WordPress) | < 1.9.12 | 1.9.12 |
| wordpress awesome-gallery(WordPress) | <= 1.0 | No fix listed |
| wordpress easy-image-gallery(WordPress) | < 1.5.3 | 1.5.3 |
| wordpress woo-3d-viewer(WordPress) | < 1.8.6.7 | 1.8.6.7 |