# hCaptcha for WP <= 5.4.1 - Unauthenticated CAPTCHA Bypass via LearnPress Registration Nonce Parameter

- **ID:** WPSEC-2026-2312
- **Plugin:** hCaptcha for WP (`hcaptcha-for-forms-and-more`), https://wordpress.org/plugins/hcaptcha-for-forms-and-more/
- **Affected versions:** from 4.9.0 before 5.5.0
- **Fixed in:** 5.5.0 (Update to 5.5.0 or later.)
- **Severity:** Medium 5.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N)
- **Weakness:** CWE-693
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-11-03)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/hcaptcha-for-forms-and-more
- **Fix released:** 2026-10-30
- **Published:** 2026-11-03
- **URL:** https://wpsec.com/vuln/WPSEC-2026-2312/

## Description

The hCaptcha for WP plugin for WordPress is vulnerable to a protection mechanism bypass via the LearnPress registration integration in all versions up to, and including, 5.4.1. This is due to the check running only when the 'learn-press-register-nonce' value read from $_POST was valid, while LearnPress verifies the same nonce from $_REQUEST, so registration still goes ahead when the nonce is sent in the query string. This makes it possible for unauthenticated attackers to register LearnPress accounts without solving the hCaptcha challenge.

## References

- https://wpsec.com/vuln/WPSEC-2026-2312/
- https://plugins.svn.wordpress.org/hcaptcha-for-forms-and-more/tags/5.5.0/
- https://wordpress.org/plugins/hcaptcha-for-forms-and-more/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-2312/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
