Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain wiki edit access
-
DeliveryCraft embedvideo tag with single-quote breakout in archiveorg/wistia/sharepoint parameter
-
ExploitSave page with poisoned data-mw-iframeconfig attribute
-
ExecutionVictim loads rendered page
-
PersistAutofocus handler fires injected JavaScript
-
ImpactScript executes in wiki origin, exfiltrating session or acting as victim
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 | The extension must be installed at version 4.0.0 or earlier with the default $wgEmbedVideoRequireConsent=true setting; the attacker must hold edit rights on at least one page on the target wiki (the CVSS vector states PR:N but the description explicitly requires the ability to edit a page); the payload must be delivered through one of the three services whose input regexes allow a single quote - archiveorg (id parameter), wistia (url), or sharepoint (url); and exploitation succeeds only once a victim loads the rendered page in a browser, though no further user interaction is required because the injected autofocus handler auto-fires. |
| Impact | The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N yields 7.5, but the published vector is internally inconsistent with the described attack: exploitation requires permission to edit a wiki page, so PR:N is optimistic and PR:L is more honest, while a stored XSS typically warrants S:C with C:L/I:L rather than C:H/I:N. No EPSS, KEV, or SSVC data was provided, so real-world exploitation telemetry is unknown; however, publicly available exploit code exists directly in the GHSA advisory and the fix is one line of templating refactor, both of which lower the bar for opportunistic abuse on wikis that accept community edits. The default-on $wgEmbedVideoRequireConsent setting means most deployments are vulnerable out of the box, making this a meaningful priority for any MediaWiki instance running EmbedVideo <= 4.0.0 with open or low-trust editing. |
| Exploit ScenarioDerived | A contributor on a wiki running EmbedVideo <= 4.0.0 edits any article and inserts |
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 user with page-edit rights to inject arbitrary JavaScript into the data-mw-iframeconfig attribute by supplying a malformed URL or ID containing single quotes for the archiveorg, wistia, or sharepoint services. The flaw is present under the default $wgEmbedVideoRequireConsent=true configuration and executes in the wiki origin for every visitor that loads the affected page, with publicly available exploit code exists in the GHSA advisory.
RemediationAI
Vendor-released patch: 4.1.0 - upgrade the Composer package starcitizenwiki/embedvideo to version 4.1.0 or later, which replaces the sprintf-based attribute assembly with a TemplateParser plus Html::element/Html::rawElement calls that perform proper HTML attribute encoding (commit 370156335b325bb81d14d89edf0a1f2643d50a84). If immediate upgrade is not possible, the most effective compensating control is to set $wgEmbedVideoRequireConsent=false in LocalSettings.php, which removes the vulnerable data-mw-iframeconfig attribute from rendered output at the cost of losing the privacy-consent gate before embeds load third-party content; alternatively, restrict edit permissions so untrusted users cannot invoke <embedvideo> or {{#ev:...}} parser hooks, recognizing that this only mitigates rather than eliminates the issue for any account that can still edit. Refer to the GHSA advisory at https://github.com/StarCitizenWiki/mediawiki-extensions-EmbedVideo/security/advisories/GHSA-5c7p-g73q-rpg5 for vendor guidance.
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
EmbedVideo is a MediaWiki extension (PHP, distributed via Composer as starcitizenwiki/embedvideo) that renders third-party video embeds. In EmbedHtmlFormatter.php the figure element is assembled with sprintf using a single-quoted template data-mw-iframeconfig='%s', and the value comes from AbstractEmbedService::getIframeConfig() which JSON-encodes a structure containing $this->getUrl(). JSON encoding escapes double quotes but not single quotes, and the input-validation regexes for the archiveorg id and the wistia/sharepoint url permit literal apostrophes, so an attacker-supplied single quote terminates the attribute and lets adjacent tokens be parsed as new HTML attributes. This is a classic CWE-79 improper output neutralization caused by mixing a single-quoted HTML attribute with JSON encoding that does not escape that delimiter.
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:N/A:N
Network-reachable wiki edit endpoint (AV:N, AC:L); requires edit permission so PR:L not PR:N; autofocus removes UI; XSS executes in browser origin so S:C with C:L/I:L.
Primary rating from Vendor (https://github.com/StarCitizenWiki/mediawiki-extensions-EmbedVideo).
CVSS VectorVendor: https://github.com/StarCitizenWiki/mediawiki-extensions-EmbedVideo
DescriptionCVE.org
Summary
With $wgEmbedVideoRequireConsent enabled (the default), the urls for videos are stored in a json-ified data attributedata-mw-iframeconfig. When given a malformed url or id, the data-mw-iframeconfig attribute can be escaped via single quotes, allowing for html/javascript injection.
Details
The sprintf here adds the iframe config encoded as JSON here. When given a malicious url or id with a single quote, the $this->getUrl() call returns an unescaped payload that terminates the data-mw-iframeconfig attribute and allows for injecting attributes, including handlers, into the figure element. The id regex for the archiveorg service and the url regexes for the wistia and sharepoint services allow for single quotes to be introduced.
PoC
A couple of examples across services
Input:
<embedvideo service="archiveorg" id="x' onmouseover='alert(document.domain)' data-x='"></embedvideo>
Renders:
<figure class="embedvideo" data-service="archiveorg" data-mw-iframeconfig="{"src":"//archive.org/embed/x" onmouseover="alert(document.domain)" data-x="?autoplay=1"}" style="width:640px">
<div class="embedvideo-wrapper" style="height:493px"><div class="embedvideo-consent" data-show-privacy-notice="1">
...
</div>
</figure>Input:
{{#ev:wistia|https://wistia.com/medias/x'onmouseover='alert(document.domain)'}}
Renders:
<figure class="embedvideo" data-service="wistia" data-mw-iframeconfig="{"src":"//fast.wistia.net/embed/iframe/x" onmouseover="alert(document.domain)" ?autoplay="1"}'" style="width:640px">
<div class="embedvideo-wrapper" style="height:360px"><div class="embedvideo-consent" data-show-privacy-notice="1">
...
</div>
</figure>{{#ev:sharepoint|https://a.sharepoint.com/sites/x'onmouseover='alert(document.domain)'.aspx}}Impact
Under the default $wgEmbedVideoRequireConsent = true configuration, any user able to edit a page can inject arbitrary JavaScript into an HTML event handler attribute (e.g. onfocus) via parameter. It requires no interaction (autofires via autofocus) and executes in the wiki origin for every visitor to the page.
Executive ViewAI
The StarCitizenWiki EmbedVideo MediaWiki extension in versions 4.0.0 and earlier contains a stored cross-site scripting vulnerability affecting all visitors to compromised pages. Wiki editors can inject arbitrary JavaScript that persists and executes for every visitor in the wiki origin, creating risk of session hijacking, credential theft, and unauthorized account access.
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-78829
GHSA-5c7p-g73q-rpg5
NVD
CVE.org
EPSS
Exploit-DB