Closed (fixed)
Project:
ALTCHA
Version:
1.0.0
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
21 Aug 2025 at 11:56 UTC
Updated:
29 Oct 2025 at 07:14 UTC
Jump to comment: Most recent
For some site configurations where forms are being cached, ALTCHA validation can potentially be bypassed.
captcha_sid hidden field value when inspected via browserrequired property should manually be removed via the browser inspector) and submit the second formThe second form submit should throw a validation error, but is actually submitted since the captcha_sid was already marked with status 1 in the captcha_sessions table.
Let the CAPTCHA module know the ALTCHA widget is cacheable, since we always use a custom validation callback, and don't store a solution in the captcha_sessions table anyway.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
robindh commentedComment #5
robindh commentedThis has been running smoothly in production for a while now, merging and creating a new release soon.