BuzzPHP
LightDarkSystem

Mediawiki EmbedVideo Extension has stored XSS via malformed src url with $wgEmbedVideoRequireConsent disabled

High severity. Published 25 September 2026. Update starcitizenwiki/embedvideo to 4.1.0 or later: composer update starcitizenwiki/embedvideo.

Which versions are affected?

PackageAffected versionsFixed in
starcitizenwiki/embedvideo (opens in a new tab)<= 4.0.04.1.0

What should you do?

Update every affected package you use to its fixed version, then check that nothing else in your project matches an advisory. To see which version you run, and whether anything is still affected:

composer show starcitizenwiki/embedvideo
composer audit

Advisory details

SeverityHighCVSS 7.5
Published
Updated
CVECVE-2026-57440 (opens in a new tab)
GHSAGHSA-v65j-hff3-753c (opens in a new tab)
WeaknessCWE-79, CWE-80

What the advisory says

Summary 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.

Details The iframe assembled here adds the url from getUrl() as the src without sanitization. The id regex for the archiveorg service and the url regexes for the wistia and sharepoint services allow for double quotes to be introduced.

PoC Using double quotes, the src attribute can be escaped.

Source: GHSA-v65j-hff3-753c (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .

All Composer security advisories