CVE-2026-3996
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 WordPress components
-
wp-games-embed Plugin · wp-games-embedUp to and including 0.1betaView on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- sammyb WP Games Embed — Up to and including 0.1beta
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/wp-games-embed/tags/0.1/wp-games-embed.php#L14
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/wp-games-embed/tags/0.1/wp-games-embed.php#L32
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/wp-games-embed/tags/0.1/wp-games-embed.php#L35
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/wp-games-embed/tags/0.1/wp-games-embed.php#L41
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/wp-games-embed/trunk/wp-games-embed.php#L14
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/wp-games-embed/trunk/wp-games-embed.php#L32
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/wp-games-embed/trunk/wp-games-embed.php#L35
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/wp-games-embed/trunk/wp-games-embed.php#L41
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/6a8cc968-01a5-45b8-bee8-86c858f86514?source=cve
- nvd.nist.gov Official NVD record