CVE-2026-5743
Last modified
CVE-2026-5743 is a medium-severity vulnerability rated 6.4/10 on the CVSS scale. 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. EPSS estimates a 0.26% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| gallerycreator | SimpLy Gallery | <= 3.3.3.1 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-5743?
How severe is CVE-2026-5743?
How do I fix CVE-2026-5743?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-57424Missing Authorization vulnerability in knitpay Razorpay Paym…6.5
- CVE-2026-57425Unauthenticated Broken Access Control in Autopay dla WooComm…6.5
- CVE-2026-57426Unauthenticated Cross Site Scripting (XSS) in Modula - PRO <…7.1
- CVE-2026-57427Unauthenticated Cross Site Scripting (XSS) in Download Monit…7.1
- CVE-2026-57428Unauthenticated Cross Site Scripting (XSS) in Sprout Clients…7.1
- CVE-2026-57429Contributor Broken Access Control in Slim SEO <= 4.6.2 versi…6.5
- CVE-2026-57430Contributor Broken Access Control in SEOPress PRO <= 9.1.1 v…4.3
- CVE-2026-57431Author Cross Site Scripting (XSS) in Featured Image <= 2.1 v…6.5
- CVE-2026-57432Perl versions through 5.43.10 have an integer overflow in S_…8.4
- CVE-2026-57433Storable versions before 3.41 for Perl have a signed integer…9.8
- CVE-2026-57434Nokogiri is an open source XML and HTML library for the Ruby…7.5
- CVE-2026-57435Nokogiri is an open source XML and HTML library for the Ruby…7.5
Are you affected by CVE-2026-5743?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
