Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain wiki edit rights
-
DeliveryInsert embed tag with crafted class attribute
-
ExploitSave page with stored payload
-
ExecutionVictim renders page and triggers onmouseover
-
PersistScript executes in victim origin
-
ImpactSteal session or escalate to sysop
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires (1) a MediaWiki installation with the EmbedVideo extension at version <= 4.0.0 enabled, (2) the attacker to have permission to edit a page and insert one of the extension's embed tags (default MediaWiki configuration grants edit rights to registered, and often anonymous, users), and (3) a victim to view the resulting page - the published PoC uses an onmouseover handler, so trivial hover over the embed triggers script execution. Exploitation does NOT require any non-default configuration of the extension itself, server-side authentication, or chained vulnerabilities; it IS limited by wiki edit-permission policy and by any site-wide Content-Security-Policy that blocks inline event handlers. |
| Impact | The CVSS 3.1 base score of 8.6 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L) overstates real-world severity: although the vector is network-reachable and requires no authentication on the request that triggers rendering, persisting the malicious payload realistically requires a wiki account with edit rights, and successful exploitation requires a victim to view the affected page (effectively UI:R for impact). The vendor confirms the vulnerability and ships a patch, and a working PoC is published in the GHSA advisory, so publicly available exploit code exists. No EPSS, KEV, or SSVC data was provided; the issue is not listed as actively exploited. Practical risk is high on multi-user wikis that allow untrusted editors, moderate on tightly controlled wikis, and the stored XSS could be chained to session theft or admin account takeover where sysops view affected pages. |
| Exploit ScenarioDerived | An attacker with edit rights on a target wiki adds an embed tag such as <youtube class='" onmouseover="alert(document.domain)' id="dQw4w9WgXcQ">dQw4w9WgXcQ</youtube> (the advisory's published PoC) to any page; when another user - ideally a sysop - loads the page and moves the mouse over the rendered figure, the attacker-controlled JavaScript executes in the victim's browser under the wiki's origin. From there the attacker can steal session cookies/CSRF tokens, perform actions as the victim (including granting admin rights or planting further payloads), or pivot to internal services reachable from authenticated browsers. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 19, 2026
Stored cross-site scripting in the StarCitizenWiki EmbedVideo MediaWiki extension (versions <= 4.0.0) allows any wiki user to inject arbitrary HTML and JavaScript into rendered pages by abusing the unsanitized class attribute on embed tags such as <youtube>. Because the user-supplied class is concatenated into an HTML template via sprintf without escaping, an attacker can break out of the class attribute and execute script in the context of every visitor that views the page. No public exploit identified at time of analysis beyond the advisory's own PoC, and the issue is not listed in CISA KEV.
RemediationAI
Vendor-released patch: upgrade starcitizenwiki/embedvideo to version 4.1.0 or later (release https://github.com/StarCitizenWiki/mediawiki-extensions-EmbedVideo/releases/tag/v4.1.0), which replaces the sprintf-based HTML assembly with MediaWiki's TemplateParser and Html::element helpers that perform proper attribute escaping (fix commit 370156335b325bb81d14d89edf0a1f2643d50a84). If immediate upgrade is impossible, restrict page-edit and embed-tag usage rights to trusted users only, audit existing pages containing <youtube>/<vimeo>/etc. tags for suspicious class attribute content, and consider temporarily disabling the EmbedVideo extension on wikis that accept anonymous or low-trust edits - note this removes all video embedding functionality. A strict Content-Security-Policy that disallows inline event handlers (no unsafe-inline, no script in attributes) materially blunts the impact but may break legitimate MediaWiki gadgets or skin features and is not a substitute for the patch. See advisory https://github.com/StarCitizenWiki/mediawiki-extensions-EmbedVideo/security/advisories/GHSA-7h5p-637f-jfr7.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The EmbedVideo extension renders media embeds (YouTube, Vimeo, etc.) inside MediaWiki by composing a <figure> wrapper using a PHP here-doc template populated with sprintf in includes/EmbedService/EmbedHtmlFormatter.php. The value of $config['class'], which originates from a user-controlled attribute on the embed tag (e.g. <youtube class='...'>), is interpolated directly into the class="%s" placeholder without HTML-attribute escaping, a textbook CWE-79 (Improper Neutralization of Input During Web Page Generation). The affected package is the Composer package starcitizenwiki/embedvideo (pkg:composer/starcitizenwiki_embedvideo), used by any MediaWiki instance that installs this extension and permits authors to write embed tags.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
Stored XSS needs an editor account (PR:L) and a victim to view the page and trigger onmouseover (UI:R); script runs in the wiki origin affecting other users (S:C) with limited confidentiality/integrity impact and no availability impact.
Primary rating from Vendor (https://github.com/StarCitizenWiki/mediawiki-extensions-EmbedVideo).
CVSS VectorVendor: https://github.com/StarCitizenWiki/mediawiki-extensions-EmbedVideo
DescriptionCVE.org
Summary
The user supplied class value is fed directly into the sprintf call that creates HTML. You can add a quote to escape the class and then inject arbitrary html/javascript to the final output.
Details
The template here adds a figure with a class that is substituted in. This value is provided to sprintf here, an unescaped version of the class supplied by the user.
$template = <<<HTML
<figure class="%s" data-service="%s" %s %s>
<div class="embedvideo-wrapper" %s>%s%s%s</div>%s
</figure>
HTML;PoC
Note the double quote immediately following the single quote to escape the class attribute in the template:
<youtube class='" onmouseover="alert(document.domain)' id="dQw4w9WgXcQ">dQw4w9WgXcQ</youtube>Impact
Arbitrary HTML can be inserted into the DOM by any user on any page, allowing for JavaScript to be executed.
Executive ViewAI
The StarCitizenWiki EmbedVideo MediaWiki extension (versions ≤4.0.0) contains a stored cross-site scripting vulnerability allowing any wiki user to inject malicious scripts executed in the browsers of all page visitors. This impacts organizations running MediaWiki with this extension, exposing user sessions and wiki data integrity to compromise. Publicly available exploit code exists, requiring immediate action.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-78832
GHSA-7h5p-637f-jfr7
NVD
CVE.org
EPSS
Exploit-DB