What’s Vulnerable › Vulnerabilities
CVE-2024-5424: Gallery Blocks with Lightbox. Image Gallery, (HTML5 video , YouTube, Vimeo) Video Gallery and Lightbox for native gallery <= 3.2.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via galleryID and className Parameters
- Severity: medium (CVSS 6.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-06-28 · updated 2026-06-17
- Weakness: CWE-79
Description
The Gallery Blocks with Lightbox. Image Gallery, (HTML5 video , YouTube, Vimeo) Video Gallery and Lightbox for native gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘galleryID’ and 'className' parameters in all versions up to, and including, 3.2.1 due to insufficient input sanitization and output escaping. 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 products
- gallerycreator Mixed Media Gallery Blocks: through 3.2.1
References
- https://plugins.trac.wordpress.org/browser/simply-gallery-block/trunk/blocks/init.php#L127
- https://plugins.trac.wordpress.org/browser/simply-gallery-block/trunk/blocks/init.php#L132
- https://plugins.trac.wordpress.org/browser/simply-gallery-block/trunk/blocks/init.php#L70
- https://plugins.trac.wordpress.org/changeset/3107152/simply-gallery-block/trunk/blocks/init.php
- https://wordpress.org/plugins/simply-gallery-block/#developers
- https://www.wordfence.com/threat-intel/vulnerabilities/id/3e7bd708-2e82-4fef-85f2-bf4f56f66bc4?source=cve
- https://plugins.trac.wordpress.org/browser/simply-gallery-block/trunk/blocks/init.php#L127
- https://plugins.trac.wordpress.org/browser/simply-gallery-block/trunk/blocks/init.php#L132
- https://plugins.trac.wordpress.org/browser/simply-gallery-block/trunk/blocks/init.php#L70
- https://plugins.trac.wordpress.org/changeset/3107152/simply-gallery-block/trunk/blocks/init.php
- https://wordpress.org/plugins/simply-gallery-block/#developers
- https://www.wordfence.com/threat-intel/vulnerabilities/id/3e7bd708-2e82-4fef-85f2-bf4f56f66bc4?source=cve
Get alerted when CVE-2024-5424 or the next vulnerability affects your stack