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
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
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 6.4 Medium | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N | Wordfence |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Products
| Product | Versions |
|---|---|
LightGallery WPlightgalleryteam |
|
TP WooCommerce Product Gallerytplugins |
|
Ibtana – WordPress Website Buildervowelweb |
|
Royal Addons for Elementor – Addons and Templates Kit for Elementorwproyal |
|
Portfolio, Gallery, Product Catalog – Grid KIT Portfoliowpsofts |
|
OnePressfamethemes |
|
Gallery with thumbnail slidergalaxyweblinks |
|
Image Hover Effects Ultimate ( Image Gallery, Effects, Lightbox, Comparison & Magnifier )oxilab |
|
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/acaa3142-2bbc-43d3-8ecc-05e8edb931ec?source=cve
- https://github.com/sachinchoolur/lightGallery
- https://plugins.trac.wordpress.org/changeset/3311382/
- https://plugins.trac.wordpress.org/changeset/3356089/
- https://plugins.trac.wordpress.org/changeset/3372141/
- https://plugins.trac.wordpress.org/changeset/3343557/
- https://themes.trac.wordpress.org/changeset/299860
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.