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

6.4
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2025-5092
CVSS 6.4 (Medium)
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.

Learn more about Cross-Site Scripting vulnerabilities and how to prevent them.

References

Share

8 affected software packages

Software Type Plugin
Software Slug gallery-with-thumbnail-slider (view on wordpress.org)
Patched? No
Remediation No known patch available. Please review the vulnerability's details in depth and employ mitigations based on your organization's risk tolerance. It may be best to uninstall the affected software and find a replacement.
Affected Version
  • <= 7.8
Software Type Plugin
Software Slug ibtana-visual-editor (view on wordpress.org)
Patched? Yes
Remediation Update to version 1.2.5.2, or a newer patched version
Affected Version
  • <= 1.2.5.1
Patched Version
  • 1.2.5.2
Software Type Plugin
Software Slug image-hover-effects-ultimate (view on wordpress.org)
Patched? No
Remediation No known patch available. Please review the vulnerability's details in depth and employ mitigations based on your organization's risk tolerance. It may be best to uninstall the affected software and find a replacement.
Affected Version
  • <= 9.10.5
Software Type Plugin
Software Slug lightgallerywp (view on wordpress.org)
Patched? No
Remediation No known patch available. Please review the vulnerability's details in depth and employ mitigations based on your organization's risk tolerance. It may be best to uninstall the affected software and find a replacement.
Affected Version
  • <= 1.0.5
Software Type Theme
Software Slug onepress (view on wordpress.org)
Patched? No
Remediation No known patch available. Please review the vulnerability's details in depth and employ mitigations based on your organization's risk tolerance. It may be best to uninstall the affected software and find a replacement.
Affected Version
  • <= 2.3.16
Software Type Plugin
Software Slug portfolio-wp (view on wordpress.org)
Patched? Yes
Remediation Update to version 2.2.2, or a newer patched version
Affected Version
  • <= 2.2.1
Patched Version
  • 2.2.2
Software Type Plugin
Software Slug royal-elementor-addons (view on wordpress.org)
Patched? Yes
Remediation Update to version 1.7.1032, or a newer patched version
Affected Version
  • <= 1.7.1031
Patched Version
  • 1.7.1032
Software Type Plugin
Software Slug tp-woocommerce-product-gallery (view on wordpress.org)
Patched? Yes
Remediation Update to version 2.0.0, or a newer patched version
Affected Version
  • <= 1.1.9
Patched Version
  • 2.0.0

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation