GHSA-M758-98CP-W4H7
Vulnerability from github – Published: 2026-03-21 00:31 – Updated: 2026-03-21 00:31The 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 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": [],
"aliases": [
"CVE-2026-4083"
],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-03-21T00:16:29Z",
"severity": "MODERATE"
},
"details": "The Scoreboard for HTML5 Games Lite plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the \u0027scoreboard\u0027 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 \u003ciframe\u003e 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\u0027s 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.",
"id": "GHSA-m758-98cp-w4h7",
"modified": "2026-03-21T00:31:44Z",
"published": "2026-03-21T00:31:44Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-4083"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/browser/scoreboard-for-html5-game-lite/tags/1.2/scoreboard-for-html5-game-lite.php#L274"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/browser/scoreboard-for-html5-game-lite/tags/1.2/scoreboard-for-html5-game-lite.php#L317"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/browser/scoreboard-for-html5-game-lite/tags/1.2/scoreboard-for-html5-game-lite.php#L320"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/browser/scoreboard-for-html5-game-lite/trunk/scoreboard-for-html5-game-lite.php#L274"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/browser/scoreboard-for-html5-game-lite/trunk/scoreboard-for-html5-game-lite.php#L317"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/browser/scoreboard-for-html5-game-lite/trunk/scoreboard-for-html5-game-lite.php#L320"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/changeset?sfp_email=\u0026sfph_mail=\u0026reponame=\u0026old=3483176%40scoreboard-for-html5-game-lite\u0026new=3483176%40scoreboard-for-html5-game-lite\u0026sfp_email=\u0026sfph_mail="
},
{
"type": "WEB",
"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/550ae348-254e-49f5-8046-38629c774802?source=cve"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N",
"type": "CVSS_V3"
}
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.