CVE-2026-5743: SimpLy Gallery (WordPress plugin) · Cross-site Scripting
Affects SimpLy Gallery (WordPress plugin)Source CVE Database V5
Not known to be exploited · CVSS 6.4 Medium.
Data as of 24 Nov 2026, 21:16 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 39% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 11 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| gallerycreatorSimpLy Gallery | Affected
| Fixed in– |
AI-suggested
Until a patch is available, restrict Author-level access to trusted users only and consider disabling or removing the SimpLy Gallery plugin if possible. Monitor for updates from the vendor or plugin maintainers to apply an official fix once released.
Description
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.
References
- wordfence.com/threat-intel/vulnerabilities/id/29b1984d-e6da-49d5-8b40-cdf2f1bcc1bb?source=cve (opens in a new tab)
- plugins.trac.wordpress.org/browser/simply-gallery-block/tags/3.3.2.2/blocks/init.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/simply-gallery-block/trunk/blocks/init.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/simply-gallery-block/trunk/blocks/init.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/simply-gallery-block/tags/3.3.2.2/blocks/init.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/simply-gallery-block/trunk/blocks/init.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/simply-gallery-block/tags/3.3.2.2/blocks/init.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/simply-gallery-block/trunk/blocks/init.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/simply-gallery-block/tags/3.3.2.2/blocks/init.php (opens in a new tab)
- plugins.trac.wordpress.org/changeset?reponame=&old=3581386%40simply-gallery-block&new=3581386%40simply-gallery-block (opens in a new tab)