CVE-2026-113669: ApostropheCMS: Cross-domain session token in URL confers session takeover
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.jsL557–593) places the token in the URL. acceptCrossDomainSessionToken(L258–298) reads?aposCrossDomainSessionToken,Object.assigns the stored session (cookie +passport.user) ontoreq.session, then nulls the cache entry under namespace@apostrophecms/i18n:cross-domain-sessions.- Middleware without
before:is registered for every URL (expressfindModuleMiddlewareAndRoutesL820–879); verified withAPOS_LOG_ALL_ROUTES=1.
PoC
References
Code Behaviors & Features
Detect and mitigate CVE-2026-113669 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →