{"answers":{"affected":"2 open source packages ship an affected version, including wwbn/avideo. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-40911 exists.","fix":"No fix has been published for CVE-2026-40911 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-40911 is a critical cross-site scripting vulnerability in Wwbn Avideo, published on 21 Apr 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-40911 and fix it if it is affected.\n\nWhat it is: CVE-2026-40911 is a critical cross-site scripting vulnerability in Wwbn Avideo, published on 21 Apr 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-40911 exists.\n\nAffected packages and fixed versions:\n- wwbn/avideo (Packagist): affected all versions up to 29.0; no fix listed\n- wwbn/avideo (Packagist): affected all versions up to 29.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-2026-40911/ (Markdown: https://insights.sbomify.com/CVE-2026-40911/index.md)","id":"CVE-2026-40911","markdown":"https://insights.sbomify.com/CVE-2026-40911/index.md","name":"CVE-2026-40911","record":{"aliases":["GHSA-gph2-j4c9-vhhr"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["account_takeover","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Video platform","requires_auth":"none","summary":"Unauthenticated attackers can execute arbitrary JavaScript in all connected users' browsers via unsanitized WebSocket messages, leading to account takeover.","user_interaction":"not_required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"avideo","vendor":"wwbn"}],"cvss":{"score":10,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"WWBN AVideo is an open source video platform. In versions 29.0 and prior, the YPTSocket plugin's WebSocket server relays attacker-supplied JSON message bodies to every connected client without sanitizing the `msg` or `callback` fields. On the client side, `plugin/YPTSocket/script.js` contains two `eval()` sinks fed directly by those relayed fields (`json.msg.autoEvalCodeOnHTML` at line 568 and `json.callback` at line 95). Because tokens are minted for anonymous visitors and never revalidated beyond decryption, an unauthenticated attacker can broadcast arbitrary JavaScript that executes in the origin of every currently-connected user (including administrators), resulting in universal account takeover, session theft, and privileged action execution. Commit c08694bf6264eb4decceb78c711baee2609b4efd contains a fix.","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":"WWBN AVideo YPTSocket WebSocket Broadcast Relay Leads to Unauthenticated Cross-User JavaScript Execution via Client-Side eval() Sinks","id":"CVE-2026-40911","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":"wwbn:avideo","products":["wwbn:avideo"],"type":"xss","year":"2026"},"n_packages":2,"n_references":2,"next":{"headline":"Traefik: StripPrefixRegex auth bypass via Path/RawPath desync","id":"CVE-2026-40912"},"packages":[{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["29.0"],"package":"wwbn/avideo","purl":null,"source":"GHSA-gph2-j4c9-vhhr"},{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["29.0"],"package":"wwbn/avideo","purl":"pkg:composer/wwbn/avideo","source":"GHSA-gph2-j4c9-vhhr"}],"prev":{"headline":"frp: Authentication bypass in frp HTTP vhost routing when routeByHTTPUser is used for access control","id":"CVE-2026-40910"},"products":["AVideo"],"published":"2026-04-21","related":[{"cvss_score":10,"headline":"AVideo Multi-Chain Attack: Unauthenticated Remote Code Execution via Clone Key Disclosure, Database Dump, and Command Injection","id":"CVE-2026-33478","kev_date_added":null,"published":"2026-03-23"},{"cvss_score":9.9,"headline":"Command injection in AVideo","id":"CVE-2022-30534","kev_date_added":null,"published":"2022-08-22"},{"cvss_score":9.9,"headline":"Path traversal in AVideo","id":"CVE-2022-30547","kev_date_added":null,"published":"2022-08-22"},{"cvss_score":9.9,"headline":"Command injection in AVideo","id":"CVE-2022-32572","kev_date_added":null,"published":"2022-08-22"},{"cvss_score":9.8,"headline":"AVideo has an Unauthenticated SQL Injection via `doNotShowCats` Parameter (Backslash Escape Bypass)","id":"CVE-2026-33352","kev_date_added":null,"published":"2026-03-23"},{"cvss_score":9.8,"headline":"WWBN AVideo: Unauthenticated SQL Injection via JSON Request Bypass in objects/videos.json.php","id":"CVE-2026-28501","kev_date_added":null,"published":"2026-03-06"}],"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":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-04-22","vendors":["WWBN"]},"summary":"Unauthenticated attackers can execute arbitrary JavaScript in all connected users' browsers via unsanitized WebSocket messages, leading to account takeover.","url":"https://insights.sbomify.com/CVE-2026-40911/"}