{"answers":{"affected":"2 open source packages ship an affected version, including starcitizenwiki/embedvideo.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-57440 exists.","fix":"Upgrade starcitizenwiki/embedvideo to 4.1.0 or later.","what":"CVE-2026-57440 is a high-severity cross-site scripting vulnerability in StarCitizenWiki mediawiki-extensions-EmbedVideo, published on 24 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-57440 and fix it if it is affected.\n\nWhat it is: CVE-2026-57440 is a high-severity cross-site scripting vulnerability in StarCitizenWiki mediawiki-extensions-EmbedVideo, published on 24 Sep 2026. 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-2026-57440 exists.\n\nAffected packages and fixed versions:\n- starcitizenwiki/embedvideo (Packagist): affected all versions; fixed in 4.1.0\n- starcitizenwiki/embedvideo (Packagist): affected all versions; fixed in 4.1.0\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-2026-57440/ (Markdown: https://insights.sbomify.com/CVE-2026-57440/index.md)","id":"CVE-2026-57440","markdown":"https://insights.sbomify.com/CVE-2026-57440/index.md","name":"CVE-2026-57440","record":{"aliases":["GHSA-v65j-hff3-753c"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"MediaWiki EmbedVideo extension","requires_auth":"none","summary":"Attackers can inject malicious scripts via malformed video URLs in MediaWiki when consent requirements are disabled, potentially compromising user sessions.","user_interaction":"not_required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-80","name":"Improper Neutralization of Script-Related HTML Tags in a Web Page"},{"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. 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.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Mediawiki EmbedVideo Extension has stored XSS via malformed src url with $wgEmbedVideoRequireConsent disabled","id":"CVE-2026-57440","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":2,"n_references":2,"next":{"headline":"MCPVault: PathFilter restricted-directory deny-list bypass via case and trailing dot/space equivalence","id":"CVE-2026-57441"},"packages":[{"ecosystem":"Packagist","fixed":["4.1.0"],"introduced":["0"],"last_affected":[],"package":"starcitizenwiki/embedvideo","purl":null,"source":"GHSA-v65j-hff3-753c"},{"ecosystem":"Packagist","fixed":["4.1.0"],"introduced":["0"],"last_affected":[],"package":"starcitizenwiki/embedvideo","purl":"pkg:composer/starcitizenwiki/embedvideo","source":"GHSA-v65j-hff3-753c"}],"prev":{"headline":"CyberChef: Prototype pollution in Series Chart operation","id":"CVE-2026-57439"},"products":["mediawiki-extensions-EmbedVideo"],"published":"2026-09-24","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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-29","vendors":["StarCitizenWiki"]},"summary":"Attackers can inject malicious scripts via malformed video URLs in MediaWiki when consent requirements are disabled, potentially compromising user sessions.","url":"https://insights.sbomify.com/CVE-2026-57440/"}