Vulnerability library
Security checkOctober 20, 2026

ApostropheCMS: CAPTCHA response token not URL-encoded

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpm@apostrophecms/form

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

Summary Form and login CAPTCHA verification interpolate the user-supplied widget token unencoded into the server-side verification URL/body, allowing a crafted token to inject query parameters into the reCAPTCHA/hCaptcha verify request.

Details

  • packages/form/lib/recaptcha.js:39 — recaptchaUri = 'https://www.google.com/recaptcha/api/siteverify?secret=${recaptchaSecret}&response=${input.recaptcha}'
  • packages/login-recaptcha/index.js:44 — same pattern for login
  • `packages/login-hcaptcha/index.

Recommendation

Update the @apostrophecms/form package to the latest compatible version. Followings are version details:

  • Affected version(s): < 1.5.5
  • Patched version(s): 1.5.5

References

Could your website be exposed too?

SmartScanner can check your website for ApostropheCMS: CAPTCHA response token not URL-encoded and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated October 20, 2026