CVE-2026-57440: Mediawiki EmbedVideo Extension has stored XSS via malformed src url with $wgEmbedVideoRequireConsent disabled

Published Sep 24, 2026
·
Updated

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.

Affected Software

1 affected component
MediaWiki EmbedVideo Extension<4.1.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade MediaWiki EmbedVideo Extension to a version that resolves this vulnerability.

    Fixed in 4.1.0

Event History

Sep 24, 2026
CVE Published
via MITRE·06:42 PM
Data Sourced
via MITRE·06:42 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Is the default configuration affected?

No. The issue requires $wgEmbedVideoRequireConsent to be disabled, which is not the default configuration.

2

What does an attacker need to exploit this?

An attacker needs to be able to supply a malformed video URL or ID to the extension’s embedding functionality. The affected input can break out of the iframe src attribute using double quotes and inject HTML or JavaScript.

3

Which versions should be remediated?

Versions prior to 4.1.0 are affected when consent is disabled. Upgrade to version 4.1.0, which contains the patch.

4

What can be done if an immediate upgrade is not possible?

Enable $wgEmbedVideoRequireConsent and avoid accepting malformed or untrusted video URLs and IDs in EmbedVideo tags until the extension can be updated.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203