{"id":"CVE-2026-57440","published":"2026-09-24T19:17:14.630","lastModified":"2026-09-29T04:17:56.870","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.","cvssScore":7.5,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","cwes":["CWE-79","CWE-80"],"vendors":[],"products":[],"references":[{"url":"https://github.com/StarCitizenWiki/mediawiki-extensions-EmbedVideo/commit/370156335b325bb81d14d89edf0a1f2643d50a84","tags":[]},{"url":"https://github.com/StarCitizenWiki/mediawiki-extensions-EmbedVideo/security/advisories/GHSA-v65j-hff3-753c","tags":[]},{"url":"https://github.com/StarCitizenWiki/mediawiki-extensions-EmbedVideo/security/advisories/GHSA-v65j-hff3-753c","tags":[]}],"exploitRefs":[{"url":"https://github.com/StarCitizenWiki/mediawiki-extensions-EmbedVideo/commit/370156335b325bb81d14d89edf0a1f2643d50a84","tags":[]},{"url":"https://github.com/StarCitizenWiki/mediawiki-extensions-EmbedVideo/security/advisories/GHSA-v65j-hff3-753c","tags":[]},{"url":"https://github.com/StarCitizenWiki/mediawiki-extensions-EmbedVideo/security/advisories/GHSA-v65j-hff3-753c","tags":[]}],"hasPoc":true,"ai":{"summary":"The EmbedVideo MediaWiki extension had a cross-site scripting vulnerability where video URLs were not properly sanitized before being inserted into iframe src attributes, allowing attackers to inject HTML/JavaScript when $wgEmbedVideoRequireConsent was disabled. This could lead to unauthorized code execution in users' browsers.","exploitability":"Exploitation is relatively straightforward as it requires only a malformed URL or ID that can escape the iframe src attribute through double quotes, with no additional authentication needed.","blast_radius":"The vulnerability affects any MediaWiki instance using the EmbedVideo extension with consent disabled, potentially impacting thousands of users who view pages containing embedded videos.","remediation":"Upgrade to version 4.1.0 or later which contains the patch for this XSS vulnerability.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["xss","mediawiki","web"],"model":"garnet-coder","analyzedAt":"2026-10-18T10:34:09.721Z"}}