Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-4083: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in demonisblack Scoreboard for HTML5 Games Lite

0
Medium
VulnerabilityCVE-2026-4083cvecve-2026-4083cwe-79
Published: Fri Mar 20 2026 (03/20/2026, 23:25:11 UTC)
Source: CVE Database V5
Vendor/Project: demonisblack
Product: Scoreboard for HTML5 Games Lite

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/20/2026, 23:41:05 UTC

Technical Analysis

CVE-2026-4083 is a stored cross-site scripting vulnerability identified in the Scoreboard for HTML5 Games Lite plugin for WordPress, affecting all versions up to and including 1.2. The vulnerability stems from the shortcode function sfhg_shortcode(), which allows arbitrary HTML attributes to be added to the rendered <iframe> element. Although the plugin blocks four specific attribute names (same_height_as, onload, onpageshow, onclick), it fails to block other JavaScript event handler attributes such as onfocus, onmouseover, and onmouseenter. The attribute names are sanitized using esc_html(), and values with esc_attr(), but these escaping functions do not prevent injection of JavaScript event handlers because these attribute names and simple JavaScript payloads do not contain characters altered by these functions. The shortcode content is stored in the WordPress post_content field and expanded to HTML at render time, after WordPress's kses filtering has been applied, which does not sanitize the injected attributes effectively. This flaw enables authenticated attackers with Contributor-level access or higher to inject arbitrary scripts that execute in the context of any user viewing the page containing the injected shortcode. The vulnerability has a CVSS v3.1 score of 6.4, reflecting network attack vector, low attack complexity, low privileges required, no user interaction, and a scope change with partial impact on confidentiality and integrity but no impact on availability. No public exploits have been reported yet, but the vulnerability poses a risk of session hijacking, credential theft, or other malicious actions via script execution.

Potential Impact

The primary impact of CVE-2026-4083 is the potential for attackers with Contributor-level WordPress access to inject persistent malicious scripts into pages, which execute in the browsers of any users visiting those pages. This can lead to theft of sensitive user information such as session cookies, credentials, or personal data, compromising confidentiality. Integrity can also be affected if attackers manipulate page content or perform actions on behalf of users. Although availability is not impacted, the breach of trust and potential data leakage can have significant reputational and operational consequences for organizations. Since the vulnerability requires authenticated access, it primarily threatens sites with multiple contributors or less restrictive user role management. The scope is broad because the plugin is publicly available and used worldwide, especially in gaming or entertainment-related WordPress sites. The vulnerability could be leveraged in targeted attacks against site administrators or visitors, potentially facilitating further compromise or lateral movement within organizational networks.

Mitigation Recommendations

To mitigate CVE-2026-4083, organizations should immediately restrict shortcode usage to trusted user roles, ideally limiting it to Administrator-level users only. Implement strict input validation and sanitization for all shortcode attributes, explicitly disallowing any JavaScript event handler attributes beyond the current blacklist. Employ a whitelist approach for allowed attributes rather than blacklisting specific names. Update or patch the plugin once a vendor fix is released; if no patch is available, consider disabling or replacing the plugin with a secure alternative. Additionally, monitor WordPress user roles and permissions to prevent unauthorized privilege escalation. Employ Content Security Policy (CSP) headers to restrict script execution sources and reduce the impact of injected scripts. Regularly audit site content for unexpected or suspicious shortcode usage or iframe attributes. Educate content contributors about the risks of injecting untrusted content and enforce secure development practices for custom shortcodes or plugins.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2026-03-12T20:47:57.751Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69bdda57b462d409683a8c45

Added to database: 3/20/2026, 11:37:59 PM

Last enriched: 3/20/2026, 11:41:05 PM

Last updated: 3/21/2026, 1:20:27 AM

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses