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

- Severity: High 8.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 27% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-09-24T20:11:17.000Z
- Modified: 2026-10-11T20:10:00.200Z
- Also known as: GHSA-4j5h-mvj3-m48v
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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. In versions 4.0.0 and prior, the EmbedVideo extension allows adding arbitrary attributes to an HTML element, allowing for stored XSS through wikitext. This issue has been patched via commit 4e075d3.

(As written by CVE List.)

## Affected

- StarCitizenWiki mediawiki-extensions-EmbedVideo: <= 4.0.0
- starcitizenwiki/embedvideo (Packagist): up to 4.0.0
- star-citizen embedvideo: up to 4.0.0

## Every score

- GitHub_M: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L`
- GitHub: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/StarCitizenWiki/mediawiki-extensions-EmbedVideo/security/advisories/GHSA-4j5h-mvj3-m48v> (exploit, vendor-advisory, web)
- <https://github.com/StarCitizenWiki/mediawiki-extensions-EmbedVideo/commit/4e075d3dc9a15a3ee53f449a684d5ab847e52f01> (patch, web)
- <https://github.com/StarCitizenWiki/mediawiki-extensions-EmbedVideo/blob/440fb331a84b2050f4cc084c1d31d58a1d1c202d/resources/ext.embedVideo.videolink.js#L5-L20> (product, web)
- <https://github.com/StarCitizenWiki/mediawiki-extensions-EmbedVideo/blob/440fb331a84b2050f4cc084c1d31d58a1d1c202d/resources/modules/iframe.js#L139-L155> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-59839> (advisory)
- <https://github.com/StarCitizenWiki/mediawiki-extensions-EmbedVideo> (package)

## Sources

- CVE List: [CVE-2025-59839](https://www.cve.org/CVERecord?id=CVE-2025-59839), CVE Terms of Use, modified 2025-09-25
- GitHub Advisory Database: [GHSA-4j5h-mvj3-m48v](https://github.com/advisories/GHSA-4j5h-mvj3-m48v), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-59839](https://nvd.nist.gov/vuln/detail/CVE-2025-59839), Public domain, modified 2026-10-11

---

Page: https://cve.day/CVE-2025-59839 · Whole record: https://cve.day/CVE-2025-59839.json · Rebuilt by cve.day 2026-11-25T22:59:05.159Z
