{"id":"CVE-2026-57440","summary":"Mediawiki EmbedVideo Extension has stored XSS via malformed src url with $wgEmbedVideoRequireConsent disabled","details":"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.","aliases":["GHSA-v65j-hff3-753c"],"modified":"2026-09-26T03:46:07.333897868Z","published":"2026-09-24T18:42:45.326Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57440.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-79","CWE-80"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57440.json"},{"type":"ADVISORY","url":"https://github.com/StarCitizenWiki/mediawiki-extensions-EmbedVideo/security/advisories/GHSA-v65j-hff3-753c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57440"},{"type":"FIX","url":"https://github.com/StarCitizenWiki/mediawiki-extensions-EmbedVideo/commit/370156335b325bb81d14d89edf0a1f2643d50a84"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/starcitizenwiki/mediawiki-extensions-embedvideo","events":[{"introduced":"0"},{"fixed":"370156335b325bb81d14d89edf0a1f2643d50a84"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"0"},{"fixed":"4.1.0"}]}}],"versions":["v4.0.0","v3.1.0","v3.0.0","v2.9.0","v2.8.0","v2.7.4","v2.7.3","v2.7.2","2.7.2","v2.7.1","v2.7.0","v2.6.1","v2.6.0","v2.5.2","v2.5.0","v2.4.1","v2.4.0","v2.3.3","v2.3.2","v2.3.1","v2.3.0","v2.2.9","v2.2.8","v2.2.7","v2.2.6","v2.2.5","v2.2.4","v2.2.3","v2.2.2","v2.2.1","v2.2.0","v2.1.8","v2.1.7","v2.1.6","v2.1.5","v2.1.4","v2.1.3","v2.1.2","v2.1","v2.1alpha1","v2.0","v2.0beta3","v2.0beta2","v2.0beta1","v1.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-57440.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}