@strapi/strapi@4.0.8 vulnerabilities

An open source headless CMS solution to create and manage your own API. It provides a powerful dashboard and features to make your life easier. Databases supported: MySQL, MariaDB, PostgreSQL, SQLite

Direct Vulnerabilities

Known vulnerabilities in the @strapi/strapi package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Improper Access Control

@strapi/strapi is an updated version of the old 'strapi', which is a free and open-source headless CMS delivering your content anywhere you need.

Affected versions of this package are vulnerable to Improper Access Control via the "User Registration" API due to improper sanitization of custom fields. An attacker can gain unauthorized access to private fields during user registration by sending a post request with content to fill the private fields.

How to fix Improper Access Control?

Upgrade @strapi/strapi to version 4.13.1 or higher.

>=4.0.0 <4.13.1
  • M
Information Exposure

@strapi/strapi is an updated version of the old 'strapi', which is a free and open-source headless CMS delivering your content anywhere you need.

Affected versions of this package are vulnerable to Information Exposure by developers, users, or plugins, all of who can make every attribute of a Content-Type public without knowing it. The privateAttributes getter is removed when content types are modified, which can result in any attribute becoming public.

NOTE: If a user mutates the content-type they will not be affected.

How to fix Information Exposure?

Upgrade @strapi/strapi to version 4.10.8 or higher.

<4.10.8
  • H
Access Restriction Bypass

@strapi/strapi is an updated version of the old 'strapi', which is a free and open-source headless CMS delivering your content anywhere you need.

Affected versions of this package are vulnerable to Access Restriction Bypass due to missing verification of 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.

How to fix Access Restriction Bypass?

Upgrade @strapi/strapi to version 4.5.6 or higher.

>=4.0.0-next.0 <4.5.6
  • H
Information Exposure

@strapi/strapi is an updated version of the old 'strapi', which is a free and open-source headless CMS delivering your content anywhere you need.

Affected versions of this package are vulnerable to Information Exposure by revealing sensitive user information (including on Super Administrators) by filtering on private fields (including password reset tokens). This can allow an attacker to hijack a privileged account.

How to fix Information Exposure?

Upgrade @strapi/strapi to version 4.8.0 or higher.

>=4.0.0-next.0 <4.8.0
  • M
Improper Input Validation

@strapi/strapi is an updated version of the old 'strapi', which is a free and open-source headless CMS delivering your content anywhere you need.

Affected versions of this package are vulnerable to Improper Input Validation due to mishandling hidden attributes within admin API responses. Exploiting this vulnerability allows users with permission to read user data in the settings section to read all users' data, including password hashes, by manipulating columns when using the filter function.

How to fix Improper Input Validation?

Upgrade @strapi/strapi to version 4.1.10 or higher.

>=4.0.0-next.0 <4.1.10