WordPress · The Imagepress – Image Gallery · CVE-2024-9776
**Name of the Vulnerable Software and Affected Versions**
The ImagePress – Image Gallery plugin for WordPress versions up to, and including, 1.2.2
**Description**
The issue is related to Stored Cross-Site Scripting via admin settings due to insufficient input sanitization and output escaping. This allows authenticated attackers with administrator-level permissions and above to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The issue only affects multi-site installations and installations where unfiltered html has been disabled.
**Recommendations**
For versions up to, and including, 1.2.2, update to a version that addresses the insufficient input sanitization and output escaping issue.
As a temporary workaround, consider restricting access to admin settings to minimize the risk of exploitation.