Vulnerability · Published Nov 20, 2025 · Assigned by Wordfence
CVE-2025-5092Multiple Plugins and Themes <= (Various Versions) - Authenticated (Contributor+) DOM-Based Stored Cross-Site Scripting via lightGallery JavaScript Library
Medium 6.4
In plain English
A medium-severity cross-site scripting in OnePress from famethemes. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 17% of all known vulnerabilities).
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| lightgalleryteam | LightGallery WP | 0 – through 1.0.5 |
| tplugins | TP WooCommerce Product Gallery | 0 – through 1.1.9 |
| vowelweb | Ibtana – WordPress Website Builder | 0 – through 1.2.5.1 |
| wproyal | Royal Addons for Elementor – Addons and Templates Kit for Elementor | 0 – through 1.7.1031 |
| wpsofts | Portfolio, Gallery, Product Catalog – Grid KIT Portfolio | 0 – through 2.2.1 |
| famethemes | OnePress | 0 – through 2.3.16 |
| galaxyweblinks | Gallery with thumbnail slider | 0 – through 7.8 |
| oxilab | Image Hover Effects Ultimate ( Image Gallery, Effects, Lightbox, Comparison & Magnifier ) | 0 – through 9.10.5 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
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