CVE-2024-5970: MaxGalleria <= 6.4.4 - Authenticated (Contributor+) Stored Cross-Site Scripting via maxgallery_thumb Shortcode
The MaxGalleria plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's maxgallerythumb shortcode in all versions up to, and including, 6.4.4 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
wordpress/maxgalleriato a version that resolves this vulnerability.Fixed in 6.4.4 - Compensating control
Mitigate by removing or disabling use of the MaxGalleria plugin's maxgallery_thumb shortcode on pages accessible by users until the vulnerability is remediated.
Event History
Frequently Asked Questions
What is the severity of CVE-2024-5970?
The severity of CVE-2024-5970 is considered high due to the potential for Stored Cross-Site Scripting attacks.
How do I fix CVE-2024-5970?
To fix CVE-2024-5970, update the MaxGalleria plugin to version 6.4.5 or later, which addresses the vulnerability.
Who is affected by CVE-2024-5970?
CVE-2024-5970 affects all versions of the MaxGalleria plugin for WordPress up to and including 6.4.4.
What type of vulnerability is CVE-2024-5970?
CVE-2024-5970 is a Stored Cross-Site Scripting vulnerability caused by insufficient input sanitization.
What are the implications of CVE-2024-5970?
The implications of CVE-2024-5970 include the potential for attackers to execute malicious scripts on users' browsers when interacting with affected pages.