CVE-2025-6068: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in fooplugins Gallery by FooGallery
The FooGallery – Responsive Photo Gallery, Image Viewer, Justified, Masonry & Carousel plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `data-caption-title` & `data-caption-description` HTML attributes in all versions up to, and including, 2.4.31 due to insufficient input sanitization and output escaping. 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 FooGallery WordPress plugin versions up to 2.4.31 suffer from a stored cross-site scripting vulnerability (CWE-79) due to improper neutralization of input in the data-caption-title and data-caption-description HTML attributes. This allows authenticated users with Contributor or higher privileges to inject arbitrary JavaScript code that executes in the context of other users viewing the injected pages. The vulnerability is network exploitable with low attack complexity and does not require user interaction. It impacts confidentiality and integrity but not availability.
Potential Impact
Successful exploitation allows an attacker with Contributor-level access or higher to inject persistent malicious scripts into pages generated by the plugin. These scripts execute in the browsers of users who view the compromised pages, potentially leading to theft of sensitive information or session hijacking. The vulnerability does not affect availability. There are no reports of active exploitation in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict Contributor-level access to trusted users only and consider disabling or limiting use of the affected plugin. Monitor official FooGallery and WordPress security advisories for updates regarding patches or mitigations.
CVE-2025-6068: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in fooplugins Gallery by FooGallery
Description
The FooGallery – Responsive Photo Gallery, Image Viewer, Justified, Masonry & Carousel plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `data-caption-title` & `data-caption-description` HTML attributes in all versions up to, and including, 2.4.31 due to insufficient input sanitization and output escaping. 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 FooGallery WordPress plugin versions up to 2.4.31 suffer from a stored cross-site scripting vulnerability (CWE-79) due to improper neutralization of input in the data-caption-title and data-caption-description HTML attributes. This allows authenticated users with Contributor or higher privileges to inject arbitrary JavaScript code that executes in the context of other users viewing the injected pages. The vulnerability is network exploitable with low attack complexity and does not require user interaction. It impacts confidentiality and integrity but not availability.
Potential Impact
Successful exploitation allows an attacker with Contributor-level access or higher to inject persistent malicious scripts into pages generated by the plugin. These scripts execute in the browsers of users who view the compromised pages, potentially leading to theft of sensitive information or session hijacking. The vulnerability does not affect availability. There are no reports of active exploitation in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict Contributor-level access to trusted users only and consider disabling or limiting use of the affected plugin. Monitor official FooGallery and WordPress security advisories for updates regarding patches or mitigations.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-06-13T14:00:13.538Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6870bdbba83201eaacacf6fc
Added to database: 7/11/2025, 7:31:07 AM
Last enriched: 4/9/2026, 10:35:58 AM
Last updated: 5/9/2026, 2:06:52 AM
Views: 149
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.