Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 63%

CVE-2026-5743: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in gallerycreator SimpLy Gallery

0
Medium
VulnerabilityCVE-2026-5743cvecve-2026-5743cwe-79
Published: 07/11/2026 (07/11/2026, 02:31:16 UTC)
Source: CVE Database V5
Vendor/Project: gallerycreator
Product: SimpLy Gallery

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.

CVSS v3.1

Score 6.4medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Affected software

Affected versions
<=3.3.3.2

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/18/2026, 15:42:50 UTC

Technical Analysis

CVE-2026-5743 is a stored cross-site scripting vulnerability in the SimpLy Gallery Block & Lightbox WordPress plugin (gallerycreator). The vulnerability is due to insufficient input sanitization and output escaping on the sliderMaxHeight block attribute within the pgc_sgb_render_callback() function. The pgc_sgb_sanitize_custom_css() function uses a flawed regex that only removes event handlers with quoted values but fails to catch unquoted event handlers, allowing malicious script injection. Authenticated attackers with Author-level privileges or higher can exploit this to inject arbitrary web scripts that execute when users access the injected page. This affects all versions up to and including 3.3.3.2.

Potential Impact

An attacker with Author-level access or higher can inject persistent malicious scripts into pages via block attributes. These scripts execute in the context of users visiting the affected pages, potentially leading to information disclosure (e.g., cookie theft) and other client-side impacts. The vulnerability does not affect availability but impacts confidentiality and integrity.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. 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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2026-04-07T13:48:55.983Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a51b98168715ace430ae4e6

Added to database: 07/11/2026, 03:33:21 UTC

Last enriched: 07/18/2026, 15:42:50 UTC

Last updated: 08/24/2026, 22:52:12 UTC

Views: 66

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses