CVE-2025-5092
Multiple Plugins and Themes <= (Various Versions) - Authenticated (Contributor+) DOM-Based Stored Cross-Site Scripting via lightGallery JavaScript Library
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- changed: the damage reaches other components, such as the host of a container or other users
- Impact
- confidentiality low, integrity low, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.46%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 32.1% of all scored CVEs. Scores of 30 Nov 2026.
The assessment of CISA (SSVC, 20 Nov 2025):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-79 Improper Neutralization of Input During Web Page Generation
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| LightGallery WP |
affected up to and including 1.0.5
Other versions: unaffected
|
| TP WooCommerce Product Gallery |
affected up to and including 1.1.9
Other versions: unaffected
|
| Ibtana – WordPress Website Builder |
affected up to and including 1.2.5.1
Other versions: unaffected
|
| Royal Addons for Elementor – Addons and Templates Kit for Elementor |
affected up to and including 1.7.1031
Other versions: unaffected
|
| Portfolio, Gallery, Product Catalog – Grid KIT Portfolio |
affected up to and including 2.2.1
Other versions: unaffected
|
| OnePress |
affected up to and including 2.3.16
Other versions: unaffected
|
| Gallery with thumbnail slider |
affected up to and including 7.8
Other versions: unaffected
|
| Image Hover Effects Ultimate ( Image Gallery, Effects, Lightbox, Comparison & Magnifier ) |
affected up to and including 9.10.5
Other versions: unaffected
|
Is my server affected?
This CVE is in LightGallery WP of lightgalleryteam, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.
Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.
References
Other references
- https://www.wordfence.com/threat-intel/vulnerabilities/id/acaa3142-2bbc-43d3-8ecc-05e8edb931ec?source=cve wordfence.com
- https://github.com/sachinchoolur/lightGallery github.com
- 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/ plugins.trac.wordpress.org
- https://themes.trac.wordpress.org/changeset/299860 themes.trac.wordpress.org
Source: the record CVE-2025-5092 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse