WordPress · The Video Gallery – Best Wordpress Youtube Gallery · CVE-2024-9769
**Name of the Vulnerable Software and Affected Versions**
The Video Gallery – Best WordPress YouTube Gallery plugin versions up to, and including, 2.4.1
**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, 2.4.1, update to a version that includes the necessary input sanitization and output escaping fixes to prevent Stored Cross-Site Scripting attacks. As a temporary workaround, consider restricting access to admin settings to minimize the risk of exploitation. Additionally, ensure that unfiltered html is enabled, if possible, to reduce the vulnerability's impact.