NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

CVE-2025-59839: Star Citizen EmbedVideo Extension Stored XSS through wikitext caused by usage of non-reserved data attributes

highCVSS 3.1 8.6GHSA-4j5h-mvj3-m48v

Summary The EmbedVideo extension allows adding arbitrary attributes to an HTML element, allowing for stored XSS through wikitext. Details The attributes of an iframe are populated with the value of an unreserved data attribute (data-iframeconfig) that can be set via wikitext:…

Published Sep 24, 2025 · Updated Sep 26, 2025

Affected packages

starcitizenwiki/embedvideo

Ecosystem
Composer (PHP)
Affected
<= 4.0.0
Fixed in
No patched version yet
Check
composer show starcitizenwiki/embedvideo

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Summary

The EmbedVideo extension allows adding arbitrary attributes to an HTML element, allowing for stored XSS through wikitext.

Details

The attributes of an iframe are populated with the value of an unreserved data attribute (data-iframeconfig) that can be set via wikitext: https://github.com/StarCitizenWiki/mediawiki-extensions-EmbedVideo/blob/440fb331a84b2050f4cc084c1d31d58a1d1c202d/resources/ext.embedVideo.videolink.js#L5-L20 Similar code is also present here: https://github.com/StarCitizenWiki/mediawiki-extensions-EmbedVideo/blob/440fb331a84b2050f4cc084c1d31d58a1d1c202d/resources/modules/iframe.js#L139-L155

It is possible to execute JS through attributes like onload or onmouseenter.

PoC

  1. Create a page with the following contents:
Click me!
<evlplayer></evlplayer>
  1. Click on the "Click me!" text
  2. Click on the "Load video" button below

Impact

Arbitrary HTML can be inserted into the DOM by any user, allowing for JavaScript to be executed.

Credited to SomeMWDev.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries