Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-102774 Overview
CVE-2026-102774 is a stored DOM-based Cross-Site Scripting [CWE-79] vulnerability in the SureDash – Community, Courses & Member Dashboard plugin for WordPress. The flaw affects all versions up to and including 1.12.1. Authenticated users with subscriber-level access or above can inject arbitrary JavaScript through the image alt attribute inside community post content. The script executes when any user views the injected page.
Critical Impact
Low-privileged authenticated users can store JavaScript payloads that execute in other users' browsers, enabling session theft, account takeover, and content manipulation across the WordPress site.
Affected Products
- SureDash – Community, Courses & Member Dashboard plugin for WordPress
- All versions up to and including 1.12.1
- Fixed in version 1.12.2
Discovery Timeline
- 2026-10-10 - CVE-2026-102774 published to the National Vulnerability Database
- 2026-10-13 - Last updated in NVD database
Technical Details for CVE-2026-102774
Vulnerability Analysis
The vulnerability is a stored DOM-based XSS that exploits a mismatch between server-side sanitization and client-side rendering. The SureDash plugin accepts community post content containing <img> tags with alt attributes. Server-side filtering through wp_kses permits the img/alt combination because entity-encoded content inside attribute values appears benign.
The bundled GLightbox library later reads the alt property from the Document Object Model (DOM) and assigns the decoded result to innerHTML. The browser automatically decodes HTML entities when exposing attribute values through the DOM, converting encoded payloads back into executable markup. The payload then executes in the context of the viewing user's session.
Root Cause
The root cause is insufficient output escaping combined with unsafe sink usage in client-side JavaScript. wp_kses sanitizes HTML on write but does not normalize or decode entities inside attribute values. The lightbox script treats the .alt DOM property as trusted HTML and writes it into innerHTML, bypassing the server-side allowlist entirely. See the WordPress Plugin Lightbox Script for the vulnerable sink.
Attack Vector
An authenticated attacker with at least subscriber privileges submits a community post that embeds an <img> tag. The alt attribute contains an HTML-entity-encoded JavaScript payload that survives wp_kses filtering. When another user triggers the GLightbox viewer on that image, the client-side script reads the decoded alt value and writes it to innerHTML, executing the attacker's script in the victim's browser.
No synthetic exploit code is published here. Refer to the Wordfence Vulnerability Intelligence Report for additional technical context and the WordPress Change Set Update for the applied fix.
Detection Methods for CVE-2026-102774
Indicators of Compromise
- Community posts containing <img> tags whose alt attributes include HTML-encoded sequences such as <script>, <, or <.
- Outbound requests from user browsers to unexpected domains after rendering SureDash community pages.
- New or modified WordPress user accounts, especially privilege elevations immediately following community page visits by administrators.
- Unexpected session cookies or authentication tokens appearing in web server logs from unfamiliar sources.
Detection Strategies
- Scan the wp_postmeta and community post tables for alt attribute values containing HTML entities that decode into script tags or event handlers.
- Deploy a Content Security Policy (CSP) in report-only mode to surface inline script execution originating from community post pages.
- Review web application firewall logs for POST requests to SureDash router endpoints with suspicious encoded payloads in image attributes.
Monitoring Recommendations
- Monitor for subscriber-level accounts creating or editing community posts at unusual rates.
- Alert on administrative session activity following access to community post pages that contain embedded images.
- Correlate browser-generated DOM mutation events with outbound network calls from authenticated administrator sessions.
How to Mitigate CVE-2026-102774
Immediate Actions Required
- Update the SureDash plugin to version 1.12.2 or later on all affected WordPress sites.
- Audit existing community posts for <img> tags with entity-encoded alt attribute values and remove suspicious entries.
- Review user roles and remove unnecessary subscriber or higher accounts added since the plugin was installed.
- Rotate session cookies and reset credentials for administrator accounts that may have viewed malicious content.
Patch Information
The vendor released version 1.12.2 containing the fix. The applied changes are documented in the WordPress Change Set Update. The patch addresses both the server-side filtering gap and the client-side innerHTML sink in the lightbox script.
Workarounds
- Temporarily disable the SureDash plugin on sites that cannot immediately apply the patch.
- Restrict new user registration or require manual approval to prevent anonymous attackers from gaining subscriber access.
- Deploy a web application firewall rule that blocks POST requests containing entity-encoded script fragments inside image alt attributes.
- Enforce a strict Content Security Policy that disallows inline script execution on community-facing pages.
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

