What’s Vulnerable › Vulnerabilities
CVE-2026-3996: WP Games Embed <= 0.1beta - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode Attributes
- Severity: medium (CVSS 6.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-03-21 · updated 2026-06-17
- Weakness: CWE-79
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
- sammyb WP Games Embed: through 0.1beta
References
- https://plugins.trac.wordpress.org/browser/wp-games-embed/tags/0.1/wp-games-embed.php#L14
- 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/tags/0.1/wp-games-embed.php#L35
- 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#L14
- https://plugins.trac.wordpress.org/browser/wp-games-embed/trunk/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/trunk/wp-games-embed.php#L41
- https://www.wordfence.com/threat-intel/vulnerabilities/id/6a8cc968-01a5-45b8-bee8-86c858f86514?source=cve
Get alerted when CVE-2026-3996 or the next vulnerability affects your stack