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.
Published: 2026-03-21
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting that can run arbitrary scripts for any visitor
Action: Patch Now
AI Analysis

Impact

The WP Games Embed plugin for WordPress allows authenticated users with Contributor access or higher to embed malicious code via the [game] shortcode. Because the plugin fails to sanitize or escape user‑supplied attributes such as width, height, src, title, description, game_url, main, and thumb, the input is directly concatenated into the HTML output. This results in stored cross‑site scripting that executes whenever a visitor loads a page containing the malicious shortcode. An attacker could hijack sessions, deface content, or spread malware to all users who view affected posts or pages. The vulnerability corresponds to CWE‑79 (Improper Neutralization of Input During Web Page Generation).

Affected Systems

WordPress plugin WP Games Embed (developed by sammyb) in all releases from 0.0 up to and including 0.1beta. The vulnerability is present in every version up to 0.1beta; no newer release with a fixed version is mentioned in the data. Therefore any WordPress site that continues to use WP Games Embed version 0.1beta or earlier is susceptible.

Risk and Exploitability

The CVSS base score is 6.4, indicating moderate severity. No EPSS score is available, and the flaw is not listed in the CISA KEV catalog. Exploitation requires an attacker to possess Contributor‑level permissions on the target WordPress installation to insert the malicious shortcode via the editor. Once embedded, the script runs in the browsers of all visitors who view the affected content, providing a widespread impact. The limited privilege requirement means that social engineering or credential compromise of a contributor account is sufficient to exploit the flaw. The vulnerability is unlikely to be used in the wild without such access, but the moderate CVSS and lack of mitigation such as a CSP suggest a tangible risk to sites with permissive contributor roles.

Generated by OpenCVE AI on March 21, 2026 at 07:37 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply any available plugin update that patches the removed unescaped shortcode attributes
  • If no update is available, delete the WP Games Embed plugin from the site
  • Restrict contributor accounts to only trusted users and regularly audit editor permissions
  • Enable a Content Security Policy that disallows inline scripts on post pages
  • Manually remove or sanitize the malicious shortcode attributes from existing content

Generated by OpenCVE AI on March 21, 2026 at 07:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 23 Mar 2026 18:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 23 Mar 2026 10:00:00 +0000

Type Values Removed Values Added
First Time appeared Sammyb
Sammyb wp Games Embed
Wordpress
Wordpress wordpress
Vendors & Products Sammyb
Sammyb wp Games Embed
Wordpress
Wordpress wordpress

Sat, 21 Mar 2026 05:30:00 +0000

Type Values Removed Values Added
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.
Title WP Games Embed <= 0.1beta - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode Attributes
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Sammyb Wp Games Embed
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T16:58:51.963Z

Reserved: 2026-03-11T17:05:27.131Z

Link: CVE-2026-3996

cve-icon Vulnrichment

Updated: 2026-03-23T17:11:29.732Z

cve-icon NVD

Status : Deferred

Published: 2026-03-21T04:17:35.760

Modified: 2026-04-24T16:27:44.277

Link: CVE-2026-3996

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-03-25T14:42:05Z

Weaknesses