Go Vulnerability Database
GO-2023-2386
Captcha verification bypass in github.com/mojocn/base64Captcha
Details
When using the default implementation of Verify to check a Captcha, verification can be bypassed.
For example, if the first parameter is a non-existent id, the second parameter is an empty string, and the third parameter is true, the function will always consider the Captcha to be correct.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/mojocn/base64Captcha | All versions before 1.3.6 (fixed in 1.3.6) |