Skip to content
OpenAdvisories
High · 8.6 CVE-2026-55691 EUVD-2026-78832GHSA-7h5p-637f-jfr7

EmbedVideo Extension : Stored XSS via unsanitized class passed to template

Published Sep 15, 2026 · Updated Sep 16, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
StarCitizenWiki mediawiki-extensions-EmbedVideo < 4.1.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist starcitizenwiki/embedvideo < 4.1.0 4.1.0 GHSA-7h5p-637f-jfr7

References