CVE-2025-5092
Multiple plugins and/or themes for WordPress are vulnerable to …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/sachinchoolur/lightGallery
- plugins.trac.wordpress.org/changeset/3311382/
- plugins.trac.wordpress.org/changeset/3343557/
- plugins.trac.wordpress.org/changeset/3356089/
- plugins.trac.wordpress.org/changeset/3372141/
- themes.trac.wordpress.org/changeset/299860
- www.wordfence.com/threat-intel/vulnerabilities/id/acaa3142-2bbc-43d3-8ecc-05e8edb931ec?sou
- nvd.nist.gov/vuln/detail/CVE-2025-5092
- cve.org/CVERecord?id=CVE-2025-5092
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.