Description
The ZeM STL plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the [zemstl] shortcode in all versions up to and including 1.0. This is due to insufficient input sanitization and output escaping on user-supplied shortcode attributes, specifically the 'url', 'color', and 'bgcolor' parameters. These attribute values are directly interpolated into HTML attribute context without being passed through esc_attr() or any other escaping function. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
jhdscript ZeM STL
Default version status: unaffected
0 to ≤ 1.0affected
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/07e415f9-42f1-4c80-a023-38f460f634d3?source=cve ↗
- https://plugins.trac.wordpress.org/browser/zem-stl-viewer/trunk/zemstl.php#L107 ↗
- https://plugins.trac.wordpress.org/browser/zem-stl-viewer/tags/1.0/zemstl.php#L107 ↗
- https://plugins.trac.wordpress.org/browser/zem-stl-viewer/trunk/zemstl.php#L74 ↗
- https://plugins.trac.wordpress.org/browser/zem-stl-viewer/tags/1.0/zemstl.php#L74 ↗
- https://plugins.trac.wordpress.org/browser/zem-stl-viewer/trunk/zemstl.php#L103 ↗
- https://plugins.trac.wordpress.org/browser/zem-stl-viewer/tags/1.0/zemstl.php#L103 ↗
- https://plugins.trac.wordpress.org/browser/zem-stl-viewer/trunk/zemstl.php#L104 ↗
- https://plugins.trac.wordpress.org/browser/zem-stl-viewer/tags/1.0/zemstl.php#L104 ↗