Description
The WP Games Embed plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the [game] shortcode in all versions up to and including 0.1beta. This is due to insufficient input sanitization and output escaping on user-supplied shortcode attributes such as 'width', 'height', 'src', 'title', 'description', 'game_url', 'main', and 'thumb', which are all directly concatenated into HTML output without any escaping. 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.
sammyb WP Games Embed
Default version status: unaffected
0 to ≤ 0.1betaaffected
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/6a8cc968-01a5-45b8-bee8-86c858f86514?source=cve ↗
- https://plugins.trac.wordpress.org/browser/wp-games-embed/trunk/wp-games-embed.php#L41 ↗
- https://plugins.trac.wordpress.org/browser/wp-games-embed/tags/0.1/wp-games-embed.php#L41 ↗
- https://plugins.trac.wordpress.org/browser/wp-games-embed/trunk/wp-games-embed.php#L32 ↗
- https://plugins.trac.wordpress.org/browser/wp-games-embed/tags/0.1/wp-games-embed.php#L32 ↗
- https://plugins.trac.wordpress.org/browser/wp-games-embed/trunk/wp-games-embed.php#L35 ↗
- https://plugins.trac.wordpress.org/browser/wp-games-embed/tags/0.1/wp-games-embed.php#L35 ↗
- https://plugins.trac.wordpress.org/browser/wp-games-embed/trunk/wp-games-embed.php#L14 ↗
- https://plugins.trac.wordpress.org/browser/wp-games-embed/tags/0.1/wp-games-embed.php#L14 ↗