Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @strapi/plugin-users-permissions
  4. ›
  5. CVE-2023-22893

CVE-2023-22893: Strapi does not verify the access or ID tokens issued during the OAuth flow

April 19, 2023 (updated April 24, 2023)

Strapi through 4.5.5 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.

References

  • github.com/advisories/GHSA-583x-23h9-f5w7
  • github.com/strapi/strapi/blob/v4.5.6/packages/plugins/users-permissions/server/services/providers-registry.js
  • github.com/strapi/strapi/commit/46f8f98378338f18b5c6139d0157a8f71bf4de83
  • github.com/strapi/strapi/commit/8bbbd7383a20bb7cb163c8b462baffee559e994f
  • github.com/strapi/strapi/commit/eeab43b57707d7ef275076d27be6eabc72bd71a7
  • github.com/strapi/strapi/releases
  • nvd.nist.gov/vuln/detail/CVE-2023-22893
  • strapi.io/blog/security-disclosure-of-vulnerabilities-cve
  • www.ghostccamm.com/blog/multi_strapi_vulns/

Code Behaviors & Features

Detect and mitigate CVE-2023-22893 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.2.1 before 4.6.0

Fixed versions

  • 4.6.0

Solution

Upgrade to version 4.6.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Source file

npm/@strapi/plugin-users-permissions/CVE-2023-22893.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:11 +0000.