{"schema":"threatline.record/2","record":{"id":"CVE-2026-113667","aliases":["GHSA-44qr-rrjg-2cqq"],"summary":"ApostropheCMS: CAPTCHA response token not URL-encoded","details":"**Summary**\nForm 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.\n\n**Details**\n- `packages/form/lib/recaptcha.js:39` — `recaptchaUri = 'https://www.google.com/recaptcha/api/siteverify?secret=${recaptchaSecret}&response=${input.recaptcha}'`\n- `packages/login-recaptcha/index.js:44` — same pattern for login\n- `packages/login-hcaptcha/index.js:47` — `body: 'response=${token}&secret=${secret}'`\n\n**PoC**\n```\ninput.recaptcha = 'attacker_token&secret=INJECTED_SECRET&something=1'\n→ resulting verify URL:\n   https://www.google.com/recaptcha/api/siteverify?secret=<real>&response=attacker_token&secret=INJECTED_SECRET&something=1\n# (replicated exactly from recaptcha.js:39)\n```\n\n**Impact**\nLow: a crafted token smuggles extra `key=value` pairs (`secret`, extra `response`) into the outbound verify call, forcing verification failures (DoS of the captcha gate and of captcha-gated login/form flows) and enabling automated bypass probing; no secret exfiltration.\n\n**Remediation** — Build the verify request with `URL` + `searchParams` (or `encodeURIComponent` on both `secret` and `response`), and validate the token against `^[A-Za-z0-9._-]{1,2048}$` before use.","categories":["Libraries & packages"],"product":"@apostrophecms/form","vendor":"apostrophecms","ecosystem":"npm","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-44qr-rrjg-2cqq","source_modified_at":"2026-10-20T18:05:36Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"@apostrophecms/form"},"range":"< 1.5.5"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-44qr-rrjg-2cqq","source_modified_at":"2026-10-20T18:05:36Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"@apostrophecms/login-recaptcha"},"range":"< 1.2.1"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-44qr-rrjg-2cqq","source_modified_at":"2026-10-20T18:05:36Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"@apostrophecms/login-hcaptcha"},"range":"< 1.3.0"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-113667","source_modified_at":"2026-10-21T15:53:18.916Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"apostrophe","vendor":"apostrophecms","versions":[{"version":"< 4.33.0","status":"affected"}],"defaultStatus":null},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-113667","source_modified_at":"2026-10-21T15:53:18.916Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"form","vendor":"@apostrophecms","versions":[{"version":"< 1.5.5","status":"affected"}],"defaultStatus":null},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-113667","source_modified_at":"2026-10-21T15:53:18.916Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"login-hcaptcha","vendor":"@apostrophecms","versions":[{"version":"< 1.3.0","status":"affected"}],"defaultStatus":null},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-113667","source_modified_at":"2026-10-21T15:53:18.916Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"login-recaptcha","vendor":"@apostrophecms","versions":[{"version":"< 1.2.1","status":"affected"}],"defaultStatus":null},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-44qr-rrjg-2cqq","source_modified_at":"2026-10-20T18:15:04.529028056Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"@apostrophecms/form","purl":"pkg:npm/%40apostrophecms/form"},"ranges":[{"events":[{"introduced":"0"},{"fixed":"1.5.5"}],"type":"SEMVER"}],"versions":[]},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-44qr-rrjg-2cqq","source_modified_at":"2026-10-20T18:15:04.529028056Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"@apostrophecms/login-recaptcha","purl":"pkg:npm/%40apostrophecms/login-recaptcha"},"ranges":[{"events":[{"introduced":"0"},{"fixed":"1.2.1"}],"type":"SEMVER"}],"versions":[]},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-44qr-rrjg-2cqq","source_modified_at":"2026-10-20T18:15:04.529028056Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"@apostrophecms/login-hcaptcha","purl":"pkg:npm/%40apostrophecms/login-hcaptcha"},"ranges":[{"events":[{"introduced":"0"},{"fixed":"1.3.0"}],"type":"SEMVER"}],"versions":[]}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-44qr-rrjg-2cqq","source_modified_at":"2026-10-20T18:05:36Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"@apostrophecms/form"},"version":"1.5.5"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-44qr-rrjg-2cqq","source_modified_at":"2026-10-20T18:05:36Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"@apostrophecms/login-recaptcha"},"version":"1.2.1"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-44qr-rrjg-2cqq","source_modified_at":"2026-10-20T18:05:36Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"@apostrophecms/login-hcaptcha"},"version":"1.3.0"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-44qr-rrjg-2cqq","source_modified_at":"2026-10-20T18:15:04.529028056Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"@apostrophecms/form","purl":"pkg:npm/%40apostrophecms/form"},"version":"1.5.5"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-44qr-rrjg-2cqq","source_modified_at":"2026-10-20T18:15:04.529028056Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"@apostrophecms/login-recaptcha","purl":"pkg:npm/%40apostrophecms/login-recaptcha"},"version":"1.2.1"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-44qr-rrjg-2cqq","source_modified_at":"2026-10-20T18:15:04.529028056Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"@apostrophecms/login-hcaptcha","purl":"pkg:npm/%40apostrophecms/login-hcaptcha"},"version":"1.3.0"}],"cvss":5.3,"severity":"Medium","kev":{"listed":false},"epss":{"probability":0.00353,"percentile":0.27773,"score_date":"2026-10-23"},"published_at":"2026-10-20T17:33:28.418Z","modified_at":"2026-10-21T15:53:18.916Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-44qr-rrjg-2cqq","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-20T18:05:36Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-113667","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-21T15:53:18.916Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-44qr-rrjg-2cqq","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-20T18:15:04.529028056Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-113667","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["GitHub Advisory Database","CVE List","OSV","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-44qr-rrjg-2cqq","tags":["x_refsource_CONFIRM"]},{"source":"CVE List","url":"https://github.com/apostrophecms/apostrophe/commit/9500b8b0e1d630d5e07fbb5fd2c25ed0943845ce","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/apostrophecms/apostrophe/commit/f84fd41cbf6c22eb8d0008fc9c25df1f7130b350","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/apostrophecms/apostrophe/releases/tag/@apostrophecms/form@1.5.5","tags":["x_refsource_MISC"]},{"url":"https://github.com/advisories/GHSA-44qr-rrjg-2cqq","source":"GitHub Advisory Database"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","assessed_at":"2026-10-21T14:24:40.257511Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-21T15:53:18.916Z","content_hash":"61a6fc01bab43a02ae58d7a4c4f281a8924dcf0057dab30120c200ea051778e5"}}
