CVE-2026-55692 EmbedVideo Extension: Stored XSS via malformed src url with $wgEmbedVideoRequireConsent enabled
An attacker with edit permissions can inject malicious JavaScript via malformed video URLs, leading to stored XSS execution in the wiki origin.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-55692?
CVE-2026-55692 is a high-severity cross-site scripting vulnerability in StarCitizenWiki mediawiki-extensions-EmbedVideo, published on 15 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The EmbedVideo Extension is a MediaWiki extension which adds a parser function called #ev and various parser tags for embedding video clips from various video sharing services. Prior to 4.1.0, with the default $wgEmbedVideoRequireConsent configuration enabled, includes/EmbedService/EmbedHtmlFormatter.php places JSON returned through includes/EmbedService/AbstractEmbedService.php into the data-mw-iframeconfig attribute without safely escaping single quotes. Attacker-controlled archiveorg identifiers and wistia or sharepoint URLs accepted by the affected service validators can cause getUrl() output to terminate the attribute and inject event-handler attributes into the generated figure element. A user able to edit a wiki page can store JavaScript that executes in the wiki origin when visitors render the page. This issue is fixed in version 4.1.0.
Weakness: CWE-79
Which versions are affected by CVE-2026-55692?
2 open source packages ship an affected version, including starcitizenwiki/embedvideo.
| Package | Affected | Fixed in |
|---|---|---|
starcitizenwiki/embedvideo Packagist | All versions | 4.1.0 |
starcitizenwiki/embedvideo Packagist | All versions | 4.1.0 |
How do I fix CVE-2026-55692?
Upgrade starcitizenwiki/embedvideo to 4.1.0 or later.
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-55692 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-55692 exists.
Sources
Also known as GHSA-5c7p-g73q-rpg5.