Cross-site scripting in gallerycreator SimpLy Gallery
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
The SimpLy Gallery Block & Lightbox plugin for WordPress is vulnerable to Stored Cross-Site Scripting via block attributes in all versions up to, and including, 3.3.3.2. This is due to insufficient input sanitization and output escaping on the sliderMaxHeight block attribute in the pgc_sgb_render_callback() function. The vulnerability exists because the pgc_sgb_sanitize_custom_css() function uses a flawed regex pattern that only removes event handlers with quoted values (e.g., onfocus="alert()") but fails to catch unquoted event handlers (e.g., onfocus=alert(document.cookie)), allowing the malicious code to bypass sanitization. This makes it possible for authenticated attackers, with Author-level access and above, to inject arbitrary web scripts in pages via block attributes that will execute whenever a user accesses an injected page.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| gallerycreator | SimpLy Gallery | up to 3.3.3.1 | — | No fix listed | CNA |
- SimpLy Gallery Vendorgallerycreator Affected up to 3.3.3.1 Fixed in — No fix listed CNA
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-5743
- 2026-10-03 Alias added: GHSA-7jhf-qg59-fxm2
References
Other 10
- https://www.wordfence.com/threat-intel/vulnerabilities/id/29b1984d-e6da-49d5-8b40-cdf2f1bcc1bb?source=cve
- https://plugins.trac.wordpress.org/browser/simply-gallery-block/tags/3.3.2.2/blocks/init.php#L95
- https://plugins.trac.wordpress.org/browser/simply-gallery-block/trunk/blocks/init.php#L95
- https://plugins.trac.wordpress.org/browser/simply-gallery-block/trunk/blocks/init.php#L122
- https://plugins.trac.wordpress.org/browser/simply-gallery-block/tags/3.3.2.2/blocks/init.php#L122
- https://plugins.trac.wordpress.org/browser/simply-gallery-block/trunk/blocks/init.php#L142
- https://plugins.trac.wordpress.org/browser/simply-gallery-block/tags/3.3.2.2/blocks/init.php#L142
- https://plugins.trac.wordpress.org/browser/simply-gallery-block/trunk/blocks/init.php#L151
- https://plugins.trac.wordpress.org/browser/simply-gallery-block/tags/3.3.2.2/blocks/init.php#L151
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3581386%40simply-gallery-block&new=3581386%40simply-gallery-block
More gallerycreator vulnerabilities
- TI-2026-20463 WordPress SimpLy Gallery plugin <= 3.3.2 - Arbitrary Code Execution vulnerability CVSS 3.1CRITICAL 9.9
- TI-2025-23274 WordPress Gallery Blocks with Lightbox plugin <= 3.2.5 - Stored Cross Site Scripting (XSS) vulnerability CVSS 3.1MEDIUM 6.5
- TI-2024-05040 Cross-site scripting in gallerycreator Mixed Media Gallery Blocks CVSS 3.1MEDIUM 6.4
- TI-2025-39200 WordPress SimpLy Gallery plugin <= 3.3.2.1 - Cross Site Scripting (XSS) vulnerability CVSS 3.1MEDIUM 6.5
- TI-2022-04562 Freemius SDK <= 2.4.2 - Missing Authorization Checks CVSS 3.1MEDIUM 6.3
- TI-2024-12404 Freemius <= 2.10.1 - Reflected DOM-Based Cross-Site Scripting via url Parameter CVSS 3.1MEDIUM 6.1
Sources
- CVE-2026-5743 · CVE Program
- CVE-2026-5743 · NVD
- FIRST EPSS
- GHSA-7jhf-qg59-fxm2 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences