Vulnerability · Published Sep 15, 2026 · Assigned by GitHub_M
CVE-2026-55691EmbedVideo Extension : Stored XSS via unsanitized class passed to template
High 8.6
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.5% (higher than 42% 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, EmbedHtmlFormatter::toHtml in includes/EmbedService/EmbedHtmlFormatter.php passes the user-supplied class value directly to sprintf while constructing a figure element. A quote in the class value can terminate the class attribute and inject arbitrary HTML attributes or markup into the rendered page. A user able to edit a wiki page can store JavaScript that executes for visitors who render the affected content. This issue is fixed in version 4.1.0.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | starcitizenwiki/embedvideo | 4.1.0 | GHSA-7h5p-637f-jfr7 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| StarCitizenWiki | mediawiki-extensions-EmbedVideo | < 4.1.0 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
References
- https://github.com/StarCitizenWiki/mediawiki-extensions-EmbedVideo/security/advisories/GHSA-7h5p-637f-jfr7 x_refsource_CONFIRM
- https://github.com/StarCitizenWiki/mediawiki-extensions-EmbedVideo/commit/370156335b325bb81d14d89edf0a1f2643d50a84 x_refsource_MISC
- https://github.com/StarCitizenWiki/mediawiki-extensions-EmbedVideo/releases/tag/v4.1.0 x_refsource_MISC