# CVE-2025-5092: Multiple Plugins and Themes <= (Various Versions) - Authenticated (Contributor+) DOM-Based Stored Cross-Site Scripting via lightGallery JavaScript Library

- Severity: Medium 6.4 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2025-11-20T06:38:41.693Z
- Modified: 2026-06-17T09:47:11.040Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- lightgalleryteam LightGallery WP: up to 1.0.5
- tplugins TP WooCommerce Product Gallery: up to 1.1.9
- vowelweb Ibtana – WordPress Website Builder: up to 1.2.5.1
- wproyal Royal Addons for Elementor – Addons and Templates Kit for Elementor: up to 1.7.1031
- wpsofts Portfolio, Gallery, Product Catalog – Grid KIT Portfolio: up to 2.2.1
- famethemes OnePress: up to 2.3.16
- galaxyweblinks Gallery with thumbnail slider: up to 7.8
- oxilab Image Hover Effects Ultimate ( Image Gallery, Effects, Lightbox, Comparison & Magnifier ): up to 9.10.5

## 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>

## Sources

- CVE List: [CVE-2025-5092](https://www.cve.org/CVERecord?id=CVE-2025-5092), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2025-5092](https://nvd.nist.gov/vuln/detail/CVE-2025-5092), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-5092 · Whole record: https://cve.day/CVE-2025-5092.json · Rebuilt by cve.day 2026-11-25T22:59:07.863Z
