Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
3DescriptionCVE.org
The Scoreboard for HTML5 Games Lite plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'scoreboard' shortcode in all versions up to, and including, 1.2. The shortcode function sfhg_shortcode() allows arbitrary HTML attributes to be added to the rendered <iframe> element, with only a small blacklist of four attribute names (same_height_as, onload, onpageshow, onclick) being blocked. While the attribute names are passed through esc_html() and values through esc_attr(), this does not prevent injection of JavaScript event handler attributes like onfocus, onmouseover, onmouseenter, etc., because these attribute names and simple JavaScript payloads contain no characters that would be modified by these escaping functions. The shortcode text is stored in post_content and is only expanded to HTML at render time, after WordPress's kses filtering has already been applied to the raw post content. 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.
AnalysisAI
This is a Stored Cross-Site Scripting (XSS) vulnerability in the Scoreboard for HTML5 Games Lite WordPress plugin affecting all versions up to and including 1.2. The vulnerability exists in the sfhg_shortcode() function, which insufficiently validates HTML attributes added to iframe elements, allowing authenticated attackers with Contributor-level access or above to inject arbitrary JavaScript that executes when users view affected pages. The vulnerability has a CVSS score of 6.4 with medium real-world risk, as it requires authenticated access but affects stored content with site-wide impact.
Technical ContextAI
The vulnerability is rooted in CWE-79 (Improper Neutralization of Input During Web Page Generation), a classic stored XSS flaw. The affected plugin (cpe:2.3:a:demonisblack:scoreboard_for_html5_games_lite:*:*:*:*:*:*:*:*) uses a shortcode handler that dynamically constructs HTML iframe elements by accepting arbitrary user-supplied attributes. While the plugin applies esc_html() to attribute names and esc_attr() to attribute values, these escaping functions do not strip or neutralize JavaScript event handler attributes such as onfocus, onmouseover, onmouseenter, onload (beyond the blacklist), and similar handlers. The blacklist is incomplete, containing only four attribute names: same_height_as, onload, onpageshow, and onclick. The shortcode text is stored in post_content during post save time, after WordPress's kses filtering, meaning the shortcode markup itself bypasses content filtering and is only expanded to HTML when rendered to users. This design flaw allows an attacker to craft a malicious shortcode that persists in the database and executes JavaScript in every user's browser that views the affected page.
RemediationAI
Users should immediately update the Scoreboard for HTML5 Games Lite plugin to a patched version beyond 1.2 if available; check the WordPress plugin directory or Wordfence threat intelligence (https://www.wordfence.com/threat-intel/vulnerabilities/id/550ae348-254e-49f5-8046-38629c774802) for the latest secure version. As a temporary workaround if no patched version is available, WordPress administrators should restrict Contributor-level role permissions, audit all existing scoreboard shortcodes in posts and pages for suspicious attributes (especially event handlers like onfocus, onmouseover, etc.), and remove or disable the plugin entirely if it is not actively required. Additionally, implement a Web Application Firewall (WAF) rule to block POST requests containing suspicious iframe attribute names or event handler attributes in shortcode syntax, and consider enforcing a strict Content Security Policy (CSP) header with script-src directives to mitigate inline JavaScript execution.
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-13929