{"id":"CVE-2025-5092","summary":"Multiple Plugins and Themes \u003c= (Various Versions) - Authenticated (Contributor+) DOM-Based Stored Cross-Site Scripting via lightGallery JavaScript Library","details":"Multiple plugins and/or themes for WordPress are vulnerable to Stored Cross-Site Scripting via the plugin's bundled lightGallery library (\u003c= 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.","modified":"2026-08-12T03:51:09.143179367Z","published":"2025-11-20T06:38:41.693Z","database_specific":{"unresolved_ranges":[{"extracted_events":[{"last_affected":"1.0.5"},{"last_affected":"1.1.9"},{"last_affected":"1.2.5.1"},{"last_affected":"1.7.1031"},{"last_affected":"2.3.16"},{"last_affected":"7.8"},{"last_affected":"9.10.5"}],"source":"AFFECTED_FIELD"}],"cna_assigner":"Wordfence","cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5092.json"},"references":[{"type":"WEB","url":"https://plugins.trac.wordpress.org/changeset/3311382/"},{"type":"WEB","url":"https://plugins.trac.wordpress.org/changeset/3343557/"},{"type":"WEB","url":"https://plugins.trac.wordpress.org/changeset/3356089/"},{"type":"WEB","url":"https://plugins.trac.wordpress.org/changeset/3372141/"},{"type":"WEB","url":"https://themes.trac.wordpress.org/changeset/299860"},{"type":"WEB","url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/acaa3142-2bbc-43d3-8ecc-05e8edb931ec?source=cve"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5092.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5092"},{"type":"PACKAGE","url":"https://github.com/sachinchoolur/lightGallery"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/sachinchoolur/lightgallery","events":[{"introduced":"0"},{"last_affected":"3bb32dc4a3778dedd4e269f0d9e45d426bb4a909"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"2.2.1"}],"source":"AFFECTED_FIELD"}}],"versions":["2.2.1","2.2.0","2.1.5","2.2.0-beta.0","2.1.4","2.1.3","2.1.2","2.1.1","2.1.0","2.1.0-beta.1","2.0.1","2.0.0","2.0.0-beta.3","2.0.0-beta.1","1.10.0","1.9.1-beta-0","1.9.0","1.8.3","1.8.2","1.8.1","1.8.0","1.7.3","1.7.2","1.7.1","1.7.0","1.6.14","1.6.13","1.6.12","1.6.11","1.6.10","1.6.9","1.6.8","1.6.7","1.6.6","1.6.5","1.6.4","1.6.3","1.6.2","1.6.1","1.6.0","1.5.0","1.4.0","1.3.9","1.3.8","1.3.7","1.3.6","1.3.5","1.3.4","1.3.3","1.3.2","1.3.1","1.3.0","1.2.21","1.2.20","1.2.19","1.2.18","1.2.17","1.2.16","1.2.15","1.2.14","1.2.13","1.2.12","1.2.11","1.2.10","1.2.9","1.2.8","1.2.7","1.2.6","1.2.5","1.2.4","1.2.3","1.2.2","1.2.1","1.2.0","1.1.6","1.1.5","1.1.4","v1.1.3","1.1.2","1.1.1","1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-5092.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N"}]}