CVE-2025-2540

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

State
Published
Severity
6.4 Medium
Published
Jul 3, 2025
Updated
Apr 8, 2026
Reserved
Mar 19, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.4 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:NWordfence

Weaknesses

  • CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Affected Products

ProductVersions
Awesome Wp Image Gallerynayon46
  • 1.0 and earlierAffected
Awesome Galleryraihancse
  • 1.0 and earlierAffected
Easy Image Gallerydevrix
  • 1.5.2 and earlierAffected
Easy 3D Viewerfuzzoid
  • 1.8.6.6 and earlierAffected
WP Video Lightboxwptipsntricks
  • 1.9.11 and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.