{"answers":{"affected":"2 open source packages ship an affected version, including starcitizenwiki/embedvideo. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-59839 exists.","fix":"No fix has been published for CVE-2025-59839 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-59839 is a high-severity cross-site scripting vulnerability in StarCitizenWiki mediawiki-extensions-EmbedVideo, published on 25 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-59839 and fix it if it is affected.\n\nWhat it is: CVE-2025-59839 is a high-severity cross-site scripting vulnerability in StarCitizenWiki mediawiki-extensions-EmbedVideo, published on 25 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-59839 exists.\n\nAffected packages and fixed versions:\n- starcitizenwiki/embedvideo (Packagist): affected all versions up to 4.0.0; no fix listed\n- starcitizenwiki/embedvideo (Packagist): affected all versions up to 4.0.0; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-59839/ (Markdown: https://insights.sbomify.com/CVE-2025-59839/index.md)","id":"CVE-2025-59839","markdown":"https://insights.sbomify.com/CVE-2025-59839/index.md","name":"CVE-2025-59839","record":{"aliases":["GHSA-4j5h-mvj3-m48v"],"analysis":{"component_type":"cms_plugin","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"MediaWiki EmbedVideo extension","requires_auth":"none","summary":"Stored XSS in MediaWiki EmbedVideo extension allows attackers to inject scripts via wikitext, potentially compromising user sessions.","user_interaction":"not_required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"embedvideo","vendor":"star-citizen"}],"cvss":{"score":8.6,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"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.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Star Citizen EmbedVideo Extension Stored XSS through wikitext caused by usage of non-reserved data attributes","id":"CVE-2025-59839","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"xss","year":"2025"},"n_packages":2,"n_references":4,"next":{"headline":"Vega Cross-Site Scripting (XSS) via expressions abusing toString calls in environments using the VEGA_DEBUG global variable","id":"CVE-2025-59840"},"packages":[{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["4.0.0"],"package":"starcitizenwiki/embedvideo","purl":null,"source":"GHSA-4j5h-mvj3-m48v"},{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["4.0.0"],"package":"starcitizenwiki/embedvideo","purl":"pkg:composer/starcitizenwiki/embedvideo","source":"GHSA-4j5h-mvj3-m48v"}],"prev":{"headline":"Monkeytype Vulnerable to Self-XSS on loading saved custom text","id":"CVE-2025-59838"},"products":["mediawiki-extensions-EmbedVideo"],"published":"2025-09-25","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-09-25","vendors":["StarCitizenWiki"]},"summary":"Stored XSS in MediaWiki EmbedVideo extension allows attackers to inject scripts via wikitext, potentially compromising user sessions.","url":"https://insights.sbomify.com/CVE-2025-59839/"}