CVE-2024-2081: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in fooplugins Gallery by FooGallery
The Best WordPress Gallery Plugin – FooGallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the foogallery_attachment_modal_save action in all versions up to, and including, 2.4.14 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with author-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.14 contain a stored cross-site scripting vulnerability (CWE-79) due to improper neutralization of input during web page generation. Specifically, the foogallery_attachment_modal_save action does not sufficiently sanitize or escape user input, allowing authenticated users with author-level access or higher to inject arbitrary JavaScript code. This code executes in the context of users who view the injected pages, potentially leading to session hijacking or other script-based attacks. The vulnerability is network exploitable with low attack complexity and no user interaction required beyond authentication. The CVSS 3.1 base score is 6.4, reflecting limited confidentiality and integrity impact but no availability impact.
Potential Impact
An attacker with author-level or higher privileges can inject persistent malicious scripts into pages generated by the FooGallery plugin. These scripts execute in the browsers of users who access the compromised pages, potentially enabling theft of session tokens, defacement, or other client-side attacks. The impact is limited to confidentiality and integrity with no direct availability impact. There are no 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 author-level access to trusted users only and monitor for suspicious activity related to FooGallery plugin usage. Avoid exposing the foogallery_attachment_modal_save action to untrusted users. Follow vendor channels for updates and apply patches promptly once available.
CVE-2024-2081: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in fooplugins Gallery by FooGallery
Description
The Best WordPress Gallery Plugin – FooGallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the foogallery_attachment_modal_save action in all versions up to, and including, 2.4.14 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with author-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.14 contain a stored cross-site scripting vulnerability (CWE-79) due to improper neutralization of input during web page generation. Specifically, the foogallery_attachment_modal_save action does not sufficiently sanitize or escape user input, allowing authenticated users with author-level access or higher to inject arbitrary JavaScript code. This code executes in the context of users who view the injected pages, potentially leading to session hijacking or other script-based attacks. The vulnerability is network exploitable with low attack complexity and no user interaction required beyond authentication. The CVSS 3.1 base score is 6.4, reflecting limited confidentiality and integrity impact but no availability impact.
Potential Impact
An attacker with author-level or higher privileges can inject persistent malicious scripts into pages generated by the FooGallery plugin. These scripts execute in the browsers of users who access the compromised pages, potentially enabling theft of session tokens, defacement, or other client-side attacks. The impact is limited to confidentiality and integrity with no direct availability impact. There are no 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 author-level access to trusted users only and monitor for suspicious activity related to FooGallery plugin usage. Avoid exposing the foogallery_attachment_modal_save action to untrusted users. Follow vendor channels for updates and apply patches promptly once available.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-03-01T14:32:10.892Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6da3b7ef31ef0b589b87
Added to database: 2/25/2026, 9:46:11 PM
Last enriched: 4/9/2026, 7:13:55 AM
Last updated: 4/12/2026, 7:38:33 AM
Views: 11
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.