{"answers":{"affected":"2 open source packages ship an affected version, including wwbn/avideo.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-43877 exists.","fix":"No fix has been published for CVE-2026-43877 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-43877 is a medium-severity vulnerability in WWBN AVideo, published on 11 May 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-43877 and fix it if it is affected.\n\nWhat it is: CVE-2026-43877 is a medium-severity vulnerability in WWBN AVideo, published on 11 May 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-43877 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-43877/ (Markdown: https://insights.sbomify.com/CVE-2026-43877/index.md)","id":"CVE-2026-43877","markdown":"https://insights.sbomify.com/CVE-2026-43877/index.md","name":"CVE-2026-43877","record":{"aliases":["GHSA-jw8g-5j46-44rp"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Video platform","requires_auth":"none","summary":"Attacker can overwrite any logged-in user's profile photo with arbitrary bytes via CSRF due to missing token validation and SameSite=None cookies.","user_interaction":"required","vuln_class":"csrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/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 up to and including 29.0, objects/userSavePhoto.php is a legacy profile-photo endpoint that accepts a base64 POST parameter and writes the decoded bytes to videos/userPhoto/photo\u003cusers_id\u003e.png. Its only access control is User::isLogged(). It does not end in .json.php, so it is excluded from the project's global autoCSRFGuard (which is suffix-scoped in objects/include_config.php). There is no CSRF token, no Origin/Referer check, and no MIME validation of the decoded bytes. Because AVideo's default cookie policy is SameSite=None; Secure on HTTPS (objects/functionsPHP.php:227), an attacker who lures a logged-in user to a malicious page can overwrite that user's profile photo with arbitrary bytes and also triggers a site-wide clearCache(true) on every forged request. Commit 9c38468041505e637101c5943c5370c68f48e3ac contains an updated 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":"AVideo: CSRF in userSavePhoto.php Allows Cross-Origin Overwrite of Authenticated Users' Profile Photos with Arbitrary Content","id":"CVE-2026-43877","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"csrf","year":"2026"},"n_packages":2,"n_references":2,"next":{"headline":"Video: Reflected XSS in plugin/Meet/iframe.php via Unescaped user and pass Parameters in JavaScript String Literal","id":"CVE-2026-43878"},"packages":[{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["29.0"],"package":"wwbn/avideo","purl":null,"source":"GHSA-jw8g-5j46-44rp"},{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["29.0"],"package":"wwbn/avideo","purl":"pkg:composer/wwbn/avideo","source":"GHSA-jw8g-5j46-44rp"}],"prev":{"headline":"AVideo: HTML Injection in notifySubscribers.json.php Allows Platform-Branded Phishing Emails to Channel Subscribers","id":"CVE-2026-43876"},"products":["AVideo"],"published":"2026-05-11","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":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-12","vendors":["WWBN"]},"summary":"Attacker can overwrite any logged-in user's profile photo with arbitrary bytes via CSRF due to missing token validation and SameSite=None cookies.","url":"https://insights.sbomify.com/CVE-2026-43877/"}