ADVISORIES

GitHub Advisory Database

GHSA-583x-23h9-f5w7

Strapi does not verify the access or ID tokens issued during the OAuth flow

Moderate CVE-2023-22893

Details

Strapi 3.2.1 until 4.6.0 does not verify the access or ID tokens issued during the OAuth flow when the AWS Cognito login provider is used for authentication. A remote attacker could forge an ID token that is signed using the 'None' type algorithm to bypass authentication and impersonate any user that use AWS Cognito for authentication.

Affected packages

EcosystemPackageAffected versions
npm@strapi/plugin-users-permissions
From 3.2.1 before 4.6.0 (fixed in 4.6.0)

References