What’s Vulnerable › Vulnerabilities
CVE-2024-4035: Photo Gallery - GT3 Image Gallery & Gutenberg Block Gallery <= 2.7.7.21 - Authenticated (Author+) Cross-Site Scripting
- Severity: medium (CVSS 6.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-04-25 · updated 2026-06-17
- Weakness: CWE-79
Description
The Photo Gallery – GT3 Image Gallery & Gutenberg Block Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via image alt text in all versions up to, and including, 2.7.7.21 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Affected products
References
- https://plugins.trac.wordpress.org/changeset/3076342/gt3-photo-video-gallery/trunk/core/actions/gt3pg_gallery_shortcode.php
- https://www.wordfence.com/threat-intel/vulnerabilities/id/06ef1f0c-fdcc-4aaf-9e48-19b5be52351d?source=cve
- https://plugins.trac.wordpress.org/changeset/3076342/gt3-photo-video-gallery/trunk/core/actions/gt3pg_gallery_shortcode.php
- https://www.wordfence.com/threat-intel/vulnerabilities/id/06ef1f0c-fdcc-4aaf-9e48-19b5be52351d?source=cve
Get alerted when CVE-2024-4035 or the next vulnerability affects your stack