CVE-2026-4083 Cross-site scripting in Scoreboard for HTML5 Games Lite
Authenticated attackers can inject arbitrary JavaScript via shortcode attributes in the Scoreboard for HTML5 Games Lite plugin, leading to stored XSS.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-4083?
CVE-2026-4083 is a medium-severity cross-site scripting vulnerability in demonisblack Scoreboard for HTML5 Games Lite, published on 20 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.
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.
Weakness: CWE-79
Which versions are affected by CVE-2026-4083?
How do I fix CVE-2026-4083?
No fix has been published for CVE-2026-4083 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-4083 being exploited?
There is no known exploitation of CVE-2026-4083 in the wild and no public exploit code.
Sources
Also known as GHSA-m758-98cp-w4h7.