{"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-40926 exists.","fix":"No fix has been published for CVE-2026-40926 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-40926 is a high-severity vulnerability in Wwbn Avideo, published on 21 Apr 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-40926 and fix it if it is affected.\n\nWhat it is: CVE-2026-40926 is a high-severity vulnerability in Wwbn Avideo, published on 21 Apr 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-40926 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-40926/ (Markdown: https://insights.sbomify.com/CVE-2026-40926/index.md)","id":"CVE-2026-40926","markdown":"https://insights.sbomify.com/CVE-2026-40926/index.md","name":"CVE-2026-40926","record":{"aliases":["GHSA-ffw8-fwxp-h64w"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["data_modify","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Video platform","requires_auth":"none","summary":"Attackers can trick admins into modifying categories or executing plugin scripts via CSRF due to missing token validation in specific JSON endpoints.","user_interaction":"required","vuln_class":"csrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"avideo","vendor":"wwbn"}],"cvss":{"score":7.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"description":"WWBN AVideo is an open source video platform. In versions 29.0 and prior, three admin-only JSON endpoints — `objects/categoryAddNew.json.php`, `objects/categoryDelete.json.php`, and `objects/pluginRunUpdateScript.json.php` — enforce only a role check (`Category::canCreateCategory()` / `User::isAdmin()`) and perform state-changing actions against the database without calling `isGlobalTokenValid()` or `forbidIfIsUntrustedRequest()`. Peer endpoints in the same directory (`pluginSwitch.json.php`, `pluginRunDatabaseScript.json.php`) do enforce the CSRF token, so the missing checks are an omission rather than a design choice. An attacker who lures a logged-in admin to a malicious page can create, update, or delete categories and force execution of any installed plugin's `updateScript()` method in the admin's session. Commit ee5615153c40628ab3ec6fe04962d1f92e67d3e2 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 Vulnerable to CSRF in Admin JSON Endpoints (Category CRUD, Plugin Update Script)","id":"CVE-2026-40926","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":"wwbn:avideo","products":["wwbn:avideo"],"type":"csrf","year":"2026"},"n_packages":2,"n_references":2,"next":{"headline":"Docmost: XSS in Comments with JavaScript URI","id":"CVE-2026-40927"},"packages":[{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["29.0"],"package":"wwbn/avideo","purl":null,"source":"GHSA-ffw8-fwxp-h64w"},{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["29.0"],"package":"wwbn/avideo","purl":"pkg:composer/wwbn/avideo","source":"GHSA-ffw8-fwxp-h64w"}],"prev":{"headline":"WWBN AVideo has CSRF in configurationUpdate.json.php Enables Full Site Configuration Takeover Including Encoder URL and SMTP Credentials","id":"CVE-2026-40925"},"products":["AVideo"],"published":"2026-04-21","related":[{"cvss_score":10,"headline":"WWBN AVideo YPTSocket WebSocket Broadcast Relay Leads to Unauthenticated Cross-User JavaScript Execution via Client-Side eval() Sinks","id":"CVE-2026-40911","kev_date_added":null,"published":"2026-04-21"},{"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":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-22","vendors":["WWBN"]},"summary":"Attackers can trick admins into modifying categories or executing plugin scripts via CSRF due to missing token validation in specific JSON endpoints.","url":"https://insights.sbomify.com/CVE-2026-40926/"}