CVE-2025-5092

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

State
Published
Severity
6.4 Medium
Published
Nov 20, 2025
Updated
Apr 8, 2026
Reserved
May 22, 2025

Read the record on cve.org

Description

Multiple plugins and/or themes for WordPress are vulnerable to Stored Cross-Site Scripting via the plugin's bundled lightGallery library (<= 2.8.3) 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
LightGallery WPlightgalleryteam
  • 1.0.5 and earlierAffected
TP WooCommerce Product Gallerytplugins
  • 1.1.9 and earlierAffected
Ibtana – WordPress Website Buildervowelweb
  • 1.2.5.1 and earlierAffected
Royal Addons for Elementor – Addons and Templates Kit for Elementorwproyal
  • 1.7.1031 and earlierAffected
Portfolio, Gallery, Product Catalog – Grid KIT Portfoliowpsofts
  • 2.2.1 and earlierAffected
OnePressfamethemes
  • 2.3.16 and earlierAffected
Gallery with thumbnail slidergalaxyweblinks
  • 7.8 and earlierAffected
Image Hover Effects Ultimate ( Image Gallery, Effects, Lightbox, Comparison & Magnifier )oxilab
  • 9.10.5 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.