CVE-2024-12119: 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 default_gallery_title_size parameter in all versions up to, and including, 2.4.29 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with granted gallery and album creator roles, 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.29) is vulnerable to stored cross-site scripting via the default_gallery_title_size parameter. This parameter is not properly sanitized or escaped, allowing authenticated users with specific roles to inject arbitrary JavaScript code. When other users access the injected gallery pages, the malicious scripts execute, potentially leading to session hijacking or other client-side impacts. The vulnerability requires low attack complexity and privileges limited to gallery and album creators. No user interaction is required beyond viewing the injected page.
Potential Impact
Successful exploitation allows authenticated gallery or album creators to inject persistent malicious scripts into gallery pages. These scripts execute in the context of users viewing the pages, potentially leading to information disclosure or session hijacking. The vulnerability does not affect availability and requires authenticated access with specific roles, limiting its impact scope. No known active exploitation has been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict gallery and album creator roles to trusted users only. Monitor for updates from FooPlugins regarding patches or official mitigations. Avoid granting unnecessary privileges that allow access to the vulnerable parameter.
CVE-2024-12119: 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 default_gallery_title_size parameter in all versions up to, and including, 2.4.29 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with granted gallery and album creator roles, 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.29) is vulnerable to stored cross-site scripting via the default_gallery_title_size parameter. This parameter is not properly sanitized or escaped, allowing authenticated users with specific roles to inject arbitrary JavaScript code. When other users access the injected gallery pages, the malicious scripts execute, potentially leading to session hijacking or other client-side impacts. The vulnerability requires low attack complexity and privileges limited to gallery and album creators. No user interaction is required beyond viewing the injected page.
Potential Impact
Successful exploitation allows authenticated gallery or album creators to inject persistent malicious scripts into gallery pages. These scripts execute in the context of users viewing the pages, potentially leading to information disclosure or session hijacking. The vulnerability does not affect availability and requires authenticated access with specific roles, limiting its impact scope. No known active exploitation has been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict gallery and album creator roles to trusted users only. Monitor for updates from FooPlugins regarding patches or official mitigations. Avoid granting unnecessary privileges that allow access to the vulnerable parameter.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-12-03T21:29:32.033Z
- Cisa Enriched
- true
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 682d9816c4522896dcbd6c67
Added to database: 5/21/2025, 9:08:38 AM
Last enriched: 4/9/2026, 7:20:45 PM
Last updated: 5/8/2026, 4:40:21 PM
Views: 68
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.