CVE-2025-2540

Multiple Plugins <= (Various Versions) - Authenticated (Contributor+) Stored DOM-Based Cross-Site Scripting via prettyPhoto JavaScript Library

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.

Category

6.4
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.04%
Affected: nayon46 Awesome Wp Image Gallery
Affected: raihancse Awesome Gallery
Affected: devrix Easy Image Gallery
Affected: fuzzoid Easy 3D Viewer
Affected: wptipsntricks WP Video Lightbox
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2025-2540?
CVE-2025-2540 has been scored as a medium severity vulnerability.
How to fix CVE-2025-2540?
To fix CVE-2025-2540, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2025-2540 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2025-2540 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2025-2540?
CVE-2025-2540 affects nayon46 Awesome Wp Image Gallery, raihancse Awesome Gallery, devrix Easy Image Gallery, fuzzoid Easy 3D Viewer, wptipsntricks WP Video Lightbox.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.