Description
The SureDash – Community, Courses & Member Dashboard plugin for WordPress is vulnerable to Stored DOM-Based Cross-Site Scripting via Image 'alt' Attribute in Community Post Content in all versions up to, and including, 1.12.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The entity-encoded payload bypasses server-side wp_kses filtering because kses permits the img/alt tag combination and does not normalize entities inside attribute values; the decode occurs client-side when GLightbox reads the .alt DOM property and assigns the result to innerHTML.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
brainstormforce SureDash – Community, Courses & Member Dashboard
Default version status: unaffected
0 to ≤ 1.12.1affected
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/a8b5b389-85f4-4cc5-9796-55b611af7916?source=cve ↗
- https://plugins.trac.wordpress.org/browser/suredash/tags/1.12.0/assets/js/minified/lightbox.min.js ↗
- https://plugins.trac.wordpress.org/browser/suredash/tags/1.12.0/core/routers/misc.php#L59 ↗
- https://plugins.trac.wordpress.org/browser/suredash/tags/1.12.0/core/routes.php#L101 ↗
- https://plugins.trac.wordpress.org/browser/suredash/tags/1.12.0/inc/services/router.php#L127 ↗
- https://plugins.trac.wordpress.org/browser/suredash/tags/1.12.0/inc/utils/post-meta.php#L377 ↗
- https://plugins.trac.wordpress.org/changeset?reponame=&new=3724179%40suredash%2Ftags%2F1.12.2&old=3694773%40suredash%2Ftags%2F1.12.0 ↗