CVE-2024-5424
published medium CVSS 3.1 · 6.4Gallery 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
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| gallerycreator | — | Mixed Media Gallery Blocks0 through 3.2.1 · Other versions: unaffected | Affected | Not stated | Wordfence |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.4 / 10
- Severity
- medium
- Provider
- Wordfence · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| gallerycreator | Mixed Media Gallery Blocks | 0 through 3.2.1 (affected · semver)Default: unaffected | Wordfence · cna |
Weaknesses
1- CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
6- 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
Provider assertions
3Wordfence · cna
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
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 837b1f37597016fe498b55cd420091f710d73baef36c09f1aebc4189fcefd483
- Ingested
- 23 Sep 2026, 08:32:47 UTC
- Source record
- Official CVE record