CVE-2025-5092: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in lightgalleryteam LightGallery WP
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.
AI Analysis
Technical Summary
The LightGallery WP plugin for WordPress, specifically versions using the bundled lightGallery library up to 2.8.3, contains a stored cross-site scripting vulnerability (CWE-79). This occurs due to improper neutralization of user-supplied input during web page generation, allowing authenticated users with Contributor-level privileges or higher to inject malicious scripts. These scripts execute in the context of other users viewing the injected pages, potentially leading to limited confidentiality and integrity impacts. The CVSS 3.1 base score is 6.4, reflecting network attack vector, low attack complexity, required privileges at the contributor level, no user interaction, and partial confidentiality and integrity impact with no availability impact.
Potential Impact
An attacker with Contributor-level or higher privileges can inject malicious scripts that execute in the browsers of users who view the compromised pages. This can lead to partial disclosure of information or manipulation of content within the affected WordPress site. There is no indication of availability impact or known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. 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.
CVE-2025-5092: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in lightgalleryteam LightGallery WP
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The LightGallery WP plugin for WordPress, specifically versions using the bundled lightGallery library up to 2.8.3, contains a stored cross-site scripting vulnerability (CWE-79). This occurs due to improper neutralization of user-supplied input during web page generation, allowing authenticated users with Contributor-level privileges or higher to inject malicious scripts. These scripts execute in the context of other users viewing the injected pages, potentially leading to limited confidentiality and integrity impacts. The CVSS 3.1 base score is 6.4, reflecting network attack vector, low attack complexity, required privileges at the contributor level, no user interaction, and partial confidentiality and integrity impact with no availability impact.
Potential Impact
An attacker with Contributor-level or higher privileges can inject malicious scripts that execute in the browsers of users who view the compromised pages. This can lead to partial disclosure of information or manipulation of content within the affected WordPress site. There is no indication of availability impact or known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. 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.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-05-22T16:48:25.802Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 691eb8d39f5a9374a9bdd7d6
Added to database: 11/20/2025, 6:44:35 AM
Last enriched: 4/9/2026, 10:27:20 AM
Last updated: 5/10/2026, 1:43:45 AM
Views: 156
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.