Vulnerability · Published Mar 20, 2026 · Assigned by Wordfence
CVE-2026-4083Scoreboard for HTML5 Games Lite <= 1.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode Attributes
Medium 6.4
In plain English
A medium-severity cross-site scripting in Scoreboard for HTML5 Games Lite from demonisblack. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 12% of all known vulnerabilities).
Official description
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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| demonisblack | Scoreboard for HTML5 Games Lite | 0 – through 1.2 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/550ae348-254e-49f5-8046-38629c774802?source=cve
- https://plugins.trac.wordpress.org/browser/scoreboard-for-html5-game-lite/trunk/scoreboard-for-html5-game-lite.php#L274
- https://plugins.trac.wordpress.org/browser/scoreboard-for-html5-game-lite/trunk/scoreboard-for-html5-game-lite.php#L320
- https://plugins.trac.wordpress.org/browser/scoreboard-for-html5-game-lite/tags/1.2/scoreboard-for-html5-game-lite.php#L320
- https://plugins.trac.wordpress.org/browser/scoreboard-for-html5-game-lite/tags/1.2/scoreboard-for-html5-game-lite.php#L274
- https://plugins.trac.wordpress.org/browser/scoreboard-for-html5-game-lite/trunk/scoreboard-for-html5-game-lite.php#L317
- https://plugins.trac.wordpress.org/browser/scoreboard-for-html5-game-lite/tags/1.2/scoreboard-for-html5-game-lite.php#L317
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3483176%40scoreboard-for-html5-game-lite&new=3483176%40scoreboard-for-html5-game-lite&sfp_email=&sfph_mail=