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.
CVE-2026-5743
Score 6.4 from GitHub Security Advisory published 2026-07-11. a secondary CVSS source baseline 6.4; sources differ by 0.0.
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 6.4
- EG Score
- 6.4(high)
- EPSS
- 17.3%
- KEV
- Not listed
Published
July 11, 2026
Last Modified
July 13, 2026
References (10)
- security@wordfencehttps://plugins.trac.wordpress.org/browser/simply-gallery-block/tags/3.3.2.2/blocks/init.php#L122
- security@wordfencehttps://plugins.trac.wordpress.org/browser/simply-gallery-block/tags/3.3.2.2/blocks/init.php#L142
- security@wordfencehttps://plugins.trac.wordpress.org/browser/simply-gallery-block/tags/3.3.2.2/blocks/init.php#L151
- security@wordfencehttps://plugins.trac.wordpress.org/browser/simply-gallery-block/tags/3.3.2.2/blocks/init.php#L95
- security@wordfencehttps://plugins.trac.wordpress.org/browser/simply-gallery-block/trunk/blocks/init.php#L122
- security@wordfencehttps://plugins.trac.wordpress.org/browser/simply-gallery-block/trunk/blocks/init.php#L142
- security@wordfencehttps://plugins.trac.wordpress.org/browser/simply-gallery-block/trunk/blocks/init.php#L151
- security@wordfencehttps://plugins.trac.wordpress.org/browser/simply-gallery-block/trunk/blocks/init.php#L95
- security@wordfencehttps://plugins.trac.wordpress.org/changeset?reponame=&old=3581386%40simply-gallery-block&new=3581386%40simply-gallery-block
- security@wordfencehttps://www.wordfence.com/threat-intel/vulnerabilities/id/29b1984d-e6da-49d5-8b40-cdf2f1bcc1bb?source=cve
Vendor Advisories for CVE-2026-5743(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 17× in last 7d / 17× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 05:02 UTCEG score recompute
- 2026-07-15 05:02 UTCGHSA enrichment
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-14 04:37 UTCEG score recompute
- 2026-07-14 04:37 UTCGHSA enrichment
- 2026-07-13 22:31 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-13 04:14 UTCEG score recompute
- 2026-07-13 04:14 UTCGHSA enrichment
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-12 03:51 UTCEG score recompute
- 2026-07-12 03:51 UTCGHSA enrichment
- 2026-07-11 03:28 UTCEG score recompute
- 2026-07-11 03:27 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-5743?
When was CVE-2026-5743 disclosed?
Is CVE-2026-5743 actively exploited?
What is the CVSS score of CVE-2026-5743?
How do I remediate CVE-2026-5743?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-5743
Is Your Infrastructure Affected by CVE-2026-5743?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.