Vulnerability · Published Sep 24, 2026 · Assigned by GitHub_M
CVE-2026-57440Mediawiki EmbedVideo Extension has stored XSS via malformed src url with $wgEmbedVideoRequireConsent disabled
High 7.5
In plain English
A high-severity cross-site scripting in mediawiki-extensions-EmbedVideo from StarCitizenWiki. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 27% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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 $wgEmbedVideoRequireConsent disabled (not the default), the urls for videos are passed into an iframe src attribute without sanitization. When given a malformed url or id, the src attribute can be escaped via double quotes, allowing for html/javascript injection. Version 4.1.0 contains a patch.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | starcitizenwiki/embedvideo | 4.1.0 | GHSA-v65j-hff3-753c |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| StarCitizenWiki | mediawiki-extensions-EmbedVideo | < 4.1.0 |
Weakness: CWE-79, CWE-80 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N