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.
Problem types
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
* (semver)
* (semver)
* (semver)
* (semver)
* (semver)
* (semver)
* (semver)
* (semver)
Timeline
| 2025-06-11: | Vendor Notified |
| 2025-11-19: | Disclosed |
Credits
Craig Smith
References
www.wordfence.com/...-2bbc-43d3-8ecc-05e8edb931ec?source=cve
github.com/sachinchoolur/lightGallery
plugins.trac.wordpress.org/changeset/3311382/
plugins.trac.wordpress.org/changeset/3356089/
plugins.trac.wordpress.org/changeset/3372141/
plugins.trac.wordpress.org/changeset/3343557/