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

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2025-5092
CVSS Medium (6.4)
Publicly Published November 19, 2025
Last Updated November 24, 2025
Researcher Webbernaut
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.

References

8 affected software package

Software Type Plugin
Software Slug ibtana-visual-editor (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 1.2.5.1
Patched Version
  • 1.2.5.2
Software Type Plugin
Software Slug tp-woocommerce-product-gallery (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 1.1.9
Patched Version
  • 2.0.0
Software Type Plugin
Software Slug royal-elementor-addons (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 1.7.1031
Patched Version
  • 1.7.1032
Software Type Theme
Software Slug onepress (view on wordpress.org)
Patched? No
Affected Version
  • <= 2.3.16
Patched Version
Software Type Plugin
Software Slug lightgallerywp (view on wordpress.org)
Patched? No
Affected Version
  • <= 1.0.5
Patched Version
Software Type Plugin
Software Slug image-hover-effects-ultimate (view on wordpress.org)
Patched? No
Affected Version
  • <= 9.10.5
Patched Version
Software Type Plugin
Software Slug portfolio-wp (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 2.2.1
Patched Version
  • 2.2.2
Software Type Plugin
Software Slug gallery-with-thumbnail-slider (view on wordpress.org)
Patched? No
Affected Version
  • <= 7.8
Patched Version
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.