CVE-2025-5092
Multiple Plugins and Themes <= (Various Versions) - Authenticated (Contributor+) DOM-Based Stored Cross-Site Scripting via lightGallery JavaScript Library
CVSS Score
6.4
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-79 |
| Vendor | lightgalleryteam |
| Product | lightgallery wp |
| Published | Nov 20, 2025 |
| Last Updated | Apr 8, 2026 |
Stay Ahead of the Next One
Get instant alerts for lightgalleryteam lightgallery wp
Be the first to know when new medium vulnerabilities affecting lightgalleryteam lightgallery wp are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
Affected Versions
lightgalleryteam / LightGallery WP
0 โค 1.0.5
tplugins / TP WooCommerce Product Gallery
0 โค 1.1.9
vowelweb / Ibtana โ WordPress Website Builder
0 โค 1.2.5.1
wproyal / Royal Addons for Elementor โ Addons and Templates Kit for Elementor
0 โค 1.7.1031
wpsofts / Portfolio, Gallery, Product Catalog โ Grid KIT Portfolio
0 โค 2.2.1
famethemes / OnePress
0 โค 2.3.16
galaxyweblinks / Gallery with thumbnail slider
0 โค 7.8
oxilab / Image Hover Effects Ultimate ( Image Gallery, Effects, Lightbox, Comparison & Magnifier )
0 โค 9.10.5
References
wordfence.com: https://www.wordfence.com/threat-intel/vulnerabilities/id/acaa3142-2bbc-43d3-8ecc-05e8edb931ec?source=cve 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/3356089/ plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/changeset/3372141/ plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/changeset/3343557/ themes.trac.wordpress.org: https://themes.trac.wordpress.org/changeset/299860
Credits
Craig Smith