p PatchFirst

CVE-2026-55692

CVE-2026-55692 · EmbedVideo Extension: Stored XSS via malformed src url with $wgEmbedVideoRequireConsent enabled

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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 the default $wgEmbedVideoRequireConsent configuration enabled, includes/EmbedService/EmbedHtmlFormatter.php places JSON returned through includes/EmbedService/AbstractEmbedService.php into the data-mw-iframeconfig attribute without safely escaping single quotes. Attacker-controlled archiveorg identifiers and wistia or sharepoint URLs accepted by the affected service validators can cause getUrl() output to terminate the attribute and inject event-handler attributes into the generated figure element. A user able to edit a wiki page can store JavaScript that executes in the wiki origin when visitors render the page. This issue is fixed in version 4.1.0.

CVSS 7.5 · High · EPSS 0.5% · Fix available

Published
Updated

Stack: php

Affected products and versions

  • mediawiki-extensions-embedvideo

    Versions
    • < 4.1.0: Affected

    No fix published

  • starcitizenwiki/embedvideo Packagist

    Versions
    • 3.0.0
    • 3.0.1
    • 3.0.2
    • 3.0.3
    • 3.0.4
    • 3.0.5
    • 3.0.6
    • 3.0.7
    • 3.0.8
    • 3.0.9
    • 3.1.0
    • 3.2.0
    • 3.2.1
    • 3.2.2
    • 3.2.3
    • 3.2.4
    • 3.2.5
    • 3.2.6
    • 3.2.7
    • 3.2.8
    • 3.3.0
    • 3.4.0
    • 3.4.1
    • 3.4.2
    • 3.4.3
    • 4.0.0
    Affected ranges
    • ECOSYSTEM: < 4.1.0

    Update to 4.1.0

Original sources

Check your server →