# CVE-2026-43874: WWBN AVideo: Incomplete Fix for YPTSocket autoEvalCodeOnHTML Strip: Unauthenticated Cross-User JavaScript Execution via `$msg['json']` Relay Bypass

- Severity: High 7.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-05T19:07:09.000Z
- Modified: 2026-10-26T18:10:00.173Z
- Also known as: GHSA-ghcv-22jf-vfxm
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

WWBN AVideo is an open source video platform. In versions up to and including 29.0, the server-side mitigation for the YPTSocket autoEvalCodeOnHTML eval sink (from CVE-2026-40911) only strips the payload when it sits under $json['msg'], but the relay function msgToResourceId() selects the outbound message from $msg['json'] before $msg['msg']. An unauthenticated attacker can obtain a WebSocket token from plugin/YPTSocket/getWebSocket.json.php, connect to the WebSocket server, and send a message with autoEvalCodeOnHTML nested under a top-level json field — the strip branch is skipped, the relay delivers the payload verbatim to any logged-in user identified by to_users_id, and the client script runs it through eval(). Commit 9f3006f9a89a34daa67a83c6ad35f450cb91fcce contains an updated fix.

(As written by CVE List.)

## Affected

- WWBN AVideo: <= 29.0
- wwbn/avideo (Packagist): up to 29.0

## Every score

- GitHub_M: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`

## References

- <https://github.com/WWBN/AVideo/security/advisories/GHSA-ghcv-22jf-vfxm> (exploit, web)
- <https://github.com/WWBN/AVideo/commit/9f3006f9a89a34daa67a83c6ad35f450cb91fcce> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-43874> (advisory)
- <https://github.com/WWBN/AVideo> (package)
- <https://github.com/advisories/GHSA-gph2-j4c9-vhhr> (advisory)

## Sources

- CVE List: [CVE-2026-43874](https://www.cve.org/CVERecord?id=CVE-2026-43874), CVE Terms of Use, modified 2026-05-12
- GitHub Advisory Database: [GHSA-ghcv-22jf-vfxm](https://github.com/advisories/GHSA-ghcv-22jf-vfxm), CC-BY-4.0, modified 2026-05-13
- NVD: [CVE-2026-43874](https://nvd.nist.gov/vuln/detail/CVE-2026-43874), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-43874 · Whole record: https://cve.day/CVE-2026-43874.json · Rebuilt by cve.day 2026-11-25T22:59:21.293Z
