Description
The Responsive Check plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'rspcheck' shortcode in versions up to, and including, 0.0.3. This is due to insufficient input sanitization and output escaping on the 'url' (and 'button') shortcode attributes in the rspc_check_shortcode() function, which are echoed directly into iframe src attributes without esc_attr() or esc_url(). 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.
kevin1804 Responsive Check
Default version status: unaffected
0 to ≤ 0.0.3affected
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/d1d571e3-cf6d-4e9b-a3d7-e7e19497b5a9?source=cve ↗
- https://plugins.trac.wordpress.org/browser/responsive-checker-real-time/trunk/responsive-check.php#L25 ↗
- https://plugins.trac.wordpress.org/browser/responsive-checker-real-time/trunk/responsive-check.php#L14 ↗
- https://plugins.trac.wordpress.org/browser/responsive-checker-real-time/trunk/responsive-check.php#L54 ↗