# CVE-2026-40935: WWBN/AVideo has CAPTCHA Bypass via Attacker-Controlled Length Parameter and Missing Token Invalidation on Failure

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/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.23%, higher than 14% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-14T23:13:21.000Z
- Modified: 2026-10-26T22:10:00.163Z
- Also known as: GHSA-hg7g-56h5-5pqr
- Weaknesses: CWE-804
- 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 29.0 and prior, `objects/getCaptcha.php` accepts the CAPTCHA length (`ql`) directly from the query string with no clamping or sanitization, letting any unauthenticated client force the server to generate a 1-character CAPTCHA word. Combined with a case-insensitive `strcasecmp` comparison over a ~33-character alphabet and the fact that failed validations do NOT consume the stored session token, an attacker can trivially brute-force the CAPTCHA on any endpoint that relies on `Captcha::validation()` (user registration, password recovery, contact form, etc.) in at most ~33 requests per session. Commit bf1c76989e6a9054be4f0eb009d68f0f2464b453 contains a fix.

(As written by CVE List.)

## Affected

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

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://github.com/WWBN/AVideo/security/advisories/GHSA-hg7g-56h5-5pqr> (exploit, mitigation, vendor-advisory, web)
- <https://github.com/WWBN/AVideo/commit/bf1c76989e6a9054be4f0eb009d68f0f2464b453> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40935> (advisory)
- <https://github.com/WWBN/AVideo> (package)

## Sources

- CVE List: [CVE-2026-40935](https://www.cve.org/CVERecord?id=CVE-2026-40935), CVE Terms of Use, modified 2026-04-22
- GitHub Advisory Database: [GHSA-hg7g-56h5-5pqr](https://github.com/advisories/GHSA-hg7g-56h5-5pqr), CC-BY-4.0, modified 2026-05-05
- NVD: [CVE-2026-40935](https://nvd.nist.gov/vuln/detail/CVE-2026-40935), Public domain, modified 2026-10-26

---

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