CVE Explorer
CVE-2026-5743
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()")
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","product":"SimpLy Gallery","vendor":"gallerycreator","versions":[{"lessThanOrEqual":"3.3.3.1","status":"affected","version":"0","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:5368f52c564ec479cd53dca69e4ce4d38c2195a30811c5a9f3705a51f52d2a54 · sha256:c59263506cd2fd96… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"baseScore":6.4,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:5368f52c564ec479cd53dca69e4ce4d38c2195a30811c5a9f3705a51f52d2a54 · sha256:c59263506cd2fd96… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-79","description":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:5368f52c564ec479cd53dca69e4ce4d38c2195a30811c5a9f3705a51f52d2a54 · sha256:c59263506cd2fd96… · /containers/cna/problemTypes/0/descriptions/0
Source references
10 source assertions{"url":"https://plugins.trac.wordpress.org/browser/simply-gallery-block/tags/3.3.2.2/blocks/init.php#L122"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5368f52c564ec479cd53dca69e4ce4d38c2195a30811c5a9f3705a51f52d2a54 · sha256:c59263506cd2fd96… · /containers/cna/references/4
{"url":"https://plugins.trac.wordpress.org/browser/simply-gallery-block/tags/3.3.2.2/blocks/init.php#L142"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5368f52c564ec479cd53dca69e4ce4d38c2195a30811c5a9f3705a51f52d2a54 · sha256:c59263506cd2fd96… · /containers/cna/references/6
{"url":"https://plugins.trac.wordpress.org/browser/simply-gallery-block/tags/3.3.2.2/blocks/init.php#L151"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5368f52c564ec479cd53dca69e4ce4d38c2195a30811c5a9f3705a51f52d2a54 · sha256:c59263506cd2fd96… · /containers/cna/references/8
{"url":"https://plugins.trac.wordpress.org/browser/simply-gallery-block/tags/3.3.2.2/blocks/init.php#L95"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5368f52c564ec479cd53dca69e4ce4d38c2195a30811c5a9f3705a51f52d2a54 · sha256:c59263506cd2fd96… · /containers/cna/references/1
{"url":"https://plugins.trac.wordpress.org/browser/simply-gallery-block/trunk/blocks/init.php#L122"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5368f52c564ec479cd53dca69e4ce4d38c2195a30811c5a9f3705a51f52d2a54 · sha256:c59263506cd2fd96… · /containers/cna/references/3
{"url":"https://plugins.trac.wordpress.org/browser/simply-gallery-block/trunk/blocks/init.php#L142"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5368f52c564ec479cd53dca69e4ce4d38c2195a30811c5a9f3705a51f52d2a54 · sha256:c59263506cd2fd96… · /containers/cna/references/5
{"url":"https://plugins.trac.wordpress.org/browser/simply-gallery-block/trunk/blocks/init.php#L151"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5368f52c564ec479cd53dca69e4ce4d38c2195a30811c5a9f3705a51f52d2a54 · sha256:c59263506cd2fd96… · /containers/cna/references/7
{"url":"https://plugins.trac.wordpress.org/browser/simply-gallery-block/trunk/blocks/init.php#L95"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5368f52c564ec479cd53dca69e4ce4d38c2195a30811c5a9f3705a51f52d2a54 · sha256:c59263506cd2fd96… · /containers/cna/references/2
{"url":"https://plugins.trac.wordpress.org/changeset?reponame=&old=3581386%40simply-gallery-block&new=3581386%40simply-gallery-block"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5368f52c564ec479cd53dca69e4ce4d38c2195a30811c5a9f3705a51f52d2a54 · sha256:c59263506cd2fd96… · /containers/cna/references/9
{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/29b1984d-e6da-49d5-8b40-cdf2f1bcc1bb?source=cve"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5368f52c564ec479cd53dca69e4ce4d38c2195a30811c5a9f3705a51f52d2a54 · sha256:c59263506cd2fd96… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.