CVE-2026-40935
MEDIUM 5.3CVSS 3.1CAPTCHA Bypass in WWBN/AVideo via Attacker-Controlled Length Parameter and Missing Token Invalidation on Failure
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.
- Published
- 21 Apr 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-804
- Also known as
- GHSA-hg7g-56h5-5pqr
- Sources
- NVDJSONOSV GHSA-hg7g-56h5-5pqrJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | wwbn | avideocpe:2.3:a:wwbn:avideo:*:*:*:*:*:*:*:* |
<= 29.0 | |
| OSV | Packagist | wwbn/avideo | <= 29.0 |
References
- https://github.com/WWBN/AVideo/commit/bf1c76989e6a9054be4f0eb009d68f0f2464b453 · Patch, WEB
- https://github.com/WWBN/AVideo/security/advisories/GHSA-hg7g-56h5-5pqr · Exploit, Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-40935 · ADVISORY
- https://github.com/WWBN/AVideo · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 21 Apr 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 14 Apr 2026)