# WWBN AVideo: Missing CSRF Protection on State-Changing JSON Endpoints Enables Forced Comment Creation, Vote Manipulation, and Category Asset Deletion

Advisory record · `GHSA-x2pw-9c38-cp2j`

- **Identifiers:** `GHSA-x2pw-9c38-cp2j` · `CVE-2026-40928` · `PKSA-k36z-m2m9-7f9w`
- **State:** Confirmed
- **Severity:** CVSS 5.4 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-352](https://cwe.mitre.org/data/definitions/352.html)
- **Tags:** [Cross-site request forgery (CSRF)](https://agentprime.io/advisories/tag/csrf.md)
- **Published:** 14 Apr 2026
- **Updated:** 5 May 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 14 Apr 2026, 23:12 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `wwbn/avideo` (Packagist): affected `<=29.0`; no fixed version yet

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> wwbn/avideo versions 29.0 and earlier have several state-changing JSON endpoints that lack CSRF protection. If a logged-in user loads an attacker-controlled page, the attacker can force that user's comment votes, post comments as that user, and delete assets from categories the user manages. No fixed version is listed.

Written 3 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 5.4 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0011, the 1st percentile, on 12 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:25 UTC: First seen by agentprime
- 31 Oct 2026, 14:25 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-x2pw-9c38-cp2j)

## Sources

- [GitHub Advisory Database: GHSA-x2pw-9c38-cp2j](https://github.com/advisories/GHSA-x2pw-9c38-cp2j)
- [OSV: GHSA-x2pw-9c38-cp2j](https://osv.dev/vulnerability/GHSA-x2pw-9c38-cp2j)
- <https://github.com/WWBN/AVideo/security/advisories/GHSA-x2pw-9c38-cp2j>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40928>
- <https://github.com/WWBN/AVideo/commit/7aaad601bd9cd7b993ba0ee1b1bea6c32ee7b77c>
- <https://github.com/WWBN/AVideo>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-x2pw-9c38-cp2j>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-x2pw-9c38-cp2j/>. Everything for agents: <https://agentprime.io/llms.txt>.
