Description
Twenty through 2.35.0 contains an open redirect vulnerability in the OAuthPropagatorController.propagateOAuthCallback endpoint that treats the state query parameter as a redirect URL. Attackers can craft malicious requests to redirect users to arbitrary hosts while forwarding OAuth authorization codes, bypassing domain validation when IS_MULTIWORKSPACE_ENABLED is disabled.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
twentyhq twenty
Default version status: unaffected
0 to ≤ 2.35.0affected
References
- https://github.com/twentyhq/twenty/issues/22109 ↗
- https://github.com/twentyhq/twenty ↗
- https://github.com/twentyhq/twenty/blob/5851753d0cad4678af94382899d371203d651acb/packages/twenty-server/src/engine/core-modules/auth/controllers/oauth-propagator.controller.ts ↗
- https://www.vulncheck.com/advisories/twenty-open-redirect-via-oauth-propagator-callback ↗