CVE-2026-113669: ApostropheCMS: Cross-domain session token in URL confers session takeover

Published Oct 20, 2026
·
Updated

Summary Apostrophe's cross-domain session migration emits a single-use session token as a URL query parameter and stores it in the Mongo cache. Any client that presents the token silently adopts the target user's full session (including passport.user) with no credentials.

Details packages/apostrophe/modules/@apostrophecms/i18n/index.js: - Token generation on cross-host/locale flows (L479–487) and passport-bridge cross-locale redirect (passport-bridge/index.js L557–593) places the token in the URL. - acceptCrossDomainSessionToken (L258–298) reads ?aposCrossDomainSessionToken, Object.assigns the stored session (cookie + passport.user) onto req.session, then nulls the cache entry under namespace @apostrophecms/i18n:cross-domain-sessions. - Middleware without before: is registered for every URL (express findModuleMiddlewareAndRoutes L820–879); verified with APOSLOGALLROUTES=1.

PoC 0) Anonymous baseline: admin-only draft → 403 1) Admin logs in legitimately (token minted into redirect URL): curl -c admin.cookies -X POST -H "Content-Type: application/json" \ --data '{"username":"admin","password":"adminpassword","session":true}' \ http://localhost:3100/api/v1/@apostrophecms/login/login 2) Attacker with NO credentials visits the leaked token URL: curl -c atk.cookies "http://localhost:3100/?aposCrossDomainSessionToken=HUNTINGTOKEN" → 302 Location: / ; attacker now holds a vulnlab.sid SID cookie 3) Attacker reads admin-only content via adopted session: curl -b atk.cookies ".../api/v1/@apostrophecms/page/d576242ve1dkzb12jiiabujd:en:draft" → 200 adopted-session read -> Secret Private Page | secretData = TOP-SECRET-VALUE-abc123 4) Cache entry consumed (single-use): {"value":null}

Impact Session hijack / account takeover of the migrated user for anyone who obtains the token, inheriting all the account's privileges. Exposure is realistic precisely because the token is in URLs: server/proxy/browser-access logs, browser history, and the Referer header when the destination host differs from the source (the intended use case). Single-use limits but does not remove the window.

Remediation — Deliver the token via a short-lived HttpOnly signed SameSite cookie rather than a query parameter; bind consumption to the exact source/destination host pair, expire in seconds, and never log it.

Other sources

ApostropheCMS is an open-source Node.js content management system. Prior to 4.33.0 of ApostropheCMS and 1.6.1 of passport-bridge, cross-host or cross-locale session migration places a single-use bearer session token in a redirect URL. A client that obtains and redeems a still-valid, unconsumed token before its first use can adopt the associated session, including through the passport-bridge cross-locale flow. This issue is fixed in ApostropheCMS 4.33.0 and passport-bridge 1.6.1.

— MITRE

Affected Software

4 affected componentsFixes available
Apostrophe Technologies ApostropheCMS<4.33.0
npm/passport-bridge<1.6.1
npm/@apostrophecms/passport-bridge<1.6.1
1.6.1
npm/apostrophe<4.33.0
4.33.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/@apostrophecms/passport-bridge to a version that resolves this vulnerability.

    Fixed in 1.6.1
  2. Upgrade

    Upgrade npm/apostrophe to a version that resolves this vulnerability.

    Fixed in 4.33.0
  3. Upgrade

    Upgrade ApostropheCMS to a version that resolves this vulnerability.

    Fixed in 4.33.0
  4. Upgrade

    Upgrade passport-bridge to a version that resolves this vulnerability.

    Fixed in 1.6.1
  5. Compensating control

    For cross-domain session migration, deliver the token via a short-lived HttpOnly signed SameSite cookie instead of a query parameter; bind consumption to the exact source/destination host pair, expire it in seconds, and never log it.

Event History

Oct 20, 2026
CVE Published
via MITRE·05:35 PM
Data Sourced
via MITRE·05:35 PM
DescriptionWeakness
Advisory Published
via GitHub·06:09 PM
Data Sourced
via GitHub·06:09 PM
DescriptionWeaknessAffected Software
Data Sourced
via NVD·06:17 PM
DescriptionSeverityWeakness

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203