WordPress · Foogallery · CVE-2024-2081
**Name of the Vulnerable Software and Affected Versions**
FooGallery plugin for WordPress versions up to and including 2.4.14
**Description**
The issue is related to Stored Cross-Site Scripting due to insufficient input sanitization and output escaping via the `foogallery attachment modal save` action. This allows authenticated attackers with author-level access and above to inject arbitrary web scripts in pages, which will execute when a user accesses an injected page.
**Recommendations**
For FooGallery plugin for WordPress versions up to and including 2.4.14, update to a version higher than 2.4.14 to resolve the issue.
As a temporary workaround, consider restricting access to the `foogallery attachment modal save` action to minimize the risk of exploitation.