Medium severity6.4NVD Advisory· Published Jul 3, 2025· Updated Jun 17, 2026
CVE-2025-2540
CVE-2025-2540
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
2- Range: =3.1.6
Patches
Vulnerability mechanics
References
9- plugins.trac.wordpress.org/browser/awesome-gallery/trunk/js/jquery.prettyPhoto.jsnvd
- plugins.trac.wordpress.org/browser/awesome-wp-image-gallery/trunk/js/jquery.prettyPhoto.jsnvd
- plugins.trac.wordpress.org/browser/easy-image-gallery/trunk/includes/lib/prettyphoto/jquery.prettyPhoto.jsnvd
- plugins.trac.wordpress.org/browser/woo-3d-viewer/trunk/includes/ext/prettyPhoto/js/jquery.prettyPhoto.init.min.jsnvd
- plugins.trac.wordpress.org/browser/wp-video-lightbox/trunk/js/jquery.prettyPhoto.jsnvd
- plugins.trac.wordpress.org/changeset/3266651/wp-video-lightboxnvd
- plugins.trac.wordpress.org/changeset/3282390/woo-3d-viewernvd
- plugins.trac.wordpress.org/changesetnvd
- www.wordfence.com/threat-intel/vulnerabilities/id/82892be3-91d5-4350-96b0-dc68a67b4637nvd
News mentions
0No linked articles in our index yet.