Medium severity · published Nov 20, 2025
CVE-2025-5092
Multiple Plugins and Themes <= (Various Versions) - Authenticated (Contributor+) DOM-Based Stored Cross-Site Scripting via lightGallery JavaScript Library
6.4
CVSS
0.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 17% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
GW
Gallery with thumbnail slider · galaxyweblinks
through 7.8 · source: vendor
IW
Ibtana – WordPress Website Builder · vowelweb
through 1.2.5.1 · source: vendor
IH
Image Hover Effects Ultimate ( Image Gallery, Effects, Lightbox, Comparison & Magnifier ) · oxilab
through 9.10.5 · source: vendor
LW
LightGallery WP · lightgalleryteam
through 1.0.5 · source: vendor
ON
OnePress · famethemes
through 2.3.16 · source: vendor
PG
Portfolio, Gallery, Product Catalog – Grid KIT Portfolio · wpsofts
through 2.2.1 · source: vendor
RA
Royal Addons for Elementor – Addons and Templates Kit for Elementor · wproyal
through 1.7.1031 · source: vendor
TW
TP WooCommerce Product Gallery · tplugins
through 1.1.9 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-5092
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-5092
github.com
https://github.com/sachinchoolur/lightGallery
plugins.trac.wordpress.org
https://plugins.trac.wordpress.org/changeset/3311382/
plugins.trac.wordpress.org
https://plugins.trac.wordpress.org/changeset/3343557/
plugins.trac.wordpress.org
https://plugins.trac.wordpress.org/changeset/3356089/
plugins.trac.wordpress.org
https://plugins.trac.wordpress.org/changeset/3372141/
themes.trac.wordpress.org
https://themes.trac.wordpress.org/changeset/299860
More from OnePress
5.1
CVE-2024-38739
WordPress OnePress theme <= 2.3.8 - Cross Site Scripting (XSS) vulnerability
4.3
CVE-2025-22643
WordPress OnePress theme <= 2.3.11 - Broken Access Control vulnerability
4.3
CVE-2024-37448
WordPress OnePress theme <= 2.3.6 - Cross Site Request Forgery (CSRF) vulnerability
