CVE-2025-2540 Details
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.
A stored cross-site scripting vulnerability has been identified in multiple WordPress plugins, all of which include a vulnerable version of the prettyPhoto JavaScript library. This issue arises from inadequate input sanitization and output escaping of user-supplied attributes, allowing authenticated attackers with contributor-level access or higher to inject arbitrary scripts. The injected scripts are executed when a user accesses the affected page.
Users are advised to update to the latest versions of the affected plugins. For plugins that have not been patched, consider uninstalling and replacing them with alternatives.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 3, 2025CISA-ADP
Assessed Jul 3, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Awesome Gallery | All versions |
CPE
Remediation
| |
| Awesome WP Image Gallery | All versions |
CPE
Remediation
| |
| Easy Image Gallery | All versions |
CPE
Remediation
| |
| WP Video Lightbox | <= 1.9.11 (semver) |
CPE
Remediation
| |
| Woo 3D Viewer | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 8, 2026 | CVE Modified | [email protected] |
| Jul 3, 2025 | New CVE Received | [email protected] |
Volerion