CVE-2025-5092: LightGallery WP · Cross-site Scripting
Affects LightGallery WPSource CVE Database V5
Not known to be exploited · CVSS 6.4 Medium.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 17% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 20 Nov 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| lightgalleryteam LightGallery WP | Affected
| Fixed in– |
AI-suggested
Until an official fix is released, restrict Contributor-level access to trusted users only and consider disabling or removing the vulnerable LightGallery WP plugin if feasible. Monitor for updates from the vendor or plugin maintainers regarding patches or official mitigations.
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
- wordfence.com/threat-intel/vulnerabilities/id/acaa3142-2bbc-43d3-8ecc-05e8edb931ec?source=cve (opens in a new tab)
- github.com/sachinchoolur/lightGallery (opens in a new tab)
- plugins.trac.wordpress.org/changeset/3311382/ (opens in a new tab)
- plugins.trac.wordpress.org/changeset/3356089/ (opens in a new tab)
- plugins.trac.wordpress.org/changeset/3372141/ (opens in a new tab)
- plugins.trac.wordpress.org/changeset/3343557/ (opens in a new tab)
- themes.trac.wordpress.org/changeset/299860 (opens in a new tab)