Skip to content

← Public intelligence

npm package

strapi

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

9 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. High, CVSS 8.8npmAmendedPublished

    Strapi mishandles hidden attributes within admin API responses

    CVE-2022-31367 · GHSA-4phg-hpqm-c3j4

    Affected
    • npm strapi < 3.6.10
    Fixed in
    3.6.10· Vendor fix available
    Issue
    Strapi before 3.6.10 and 4.x before 4.1.10 mishandles hidden attributes within admin API responses.

    Recommended action: Upgrade to 3.6.10 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  2. Medium, CVSS 6.5npmAmendedPublished

    Improper Input Validation in strapi

    CVE-2020-13961 · GHSA-65wv-528r-m892

    Affected
    • npm strapi < 3.0.2
    Fixed in
    3.0.2· Vendor fix available
    Issue
    Strapi before 3.0.2 could allow a remote authenticated attacker to bypass security restrictions because templates are stored in a global variable without any sanitation. By sending a specially crafted request, an attacker could exploit this vulnerability to update the email template for both password reset and account confirmation emails.

    Recommended action: Upgrade to 3.0.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  3. High, CVSS 8.8npmAmendedPublished

    Improper Removal of Sensitive Information Before Storage or Transfer in Strapi

    CVE-2022-30617 · GHSA-f6fm-r26q-p747

    Affected
    • npm strapi >= 3.0.0, < 3.6.9
    Fixed in
    3.6.9· Vendor fix available
    Issue
    An authenticated user with access to the Strapi admin panel can view private and sensitive data, such as email and password reset tokens, for other admin panel users that have a relationship (e.g., created by, updated by) with content accessible to the authenticated user. For example, a low-privileged “author” role account can view these details in the JSON response for an “editor” or “super admin” that has updated one of the author’s blog posts. There are also many other scenarios where such details from other users can leak in the JSON response, either through a direct or indirect relationship. Access to this information enables a user to compromise other users’ accounts by successfully invoking the password reset workflow. In a worst-case scenario, a low-privileged user could get access to a “super admin” account with full control over the Strapi instance, and could read and modify any data as well as block access to both the admin panel and API by revoking privileges for all…

    Recommended action: Upgrade to 3.6.9 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  4. High, CVSS 7.5npmAmendedPublished

    Improper Removal of Sensitive Information Before Storage or Transfer in Strapi

    CVE-2022-30618 · GHSA-vgj7-895j-gpr6

    Affected
    • npm strapi >= 3.0.0, < 3.6.9
    Fixed in
    3.6.9· Vendor fix available
    Issue
    An authenticated user with access to the Strapi admin panel can view private and sensitive data, such as email and password reset tokens, for API users if content types accessible to the authenticated user contain relationships to API users (from:users-permissions). There are many scenarios in which such details from API users can leak in the JSON response within the admin panel, either through a direct or indirect relationship. Access to this information enables a user to compromise these users’ accounts if the password reset API endpoints have been enabled. In a worst-case scenario, a low-privileged user could get access to a high-privileged API account, and could read and modify any data as well as block access to both the admin panel and API by revoking privileges for all other users.

    Recommended action: Upgrade to 3.6.9 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  5. High, CVSS 7.5npmAmendedPublished

    Insecure password handling vulnerability in Strapi

    CVE-2021-46440 · GHSA-85vg-grr5-pw42

    Affected
    • npm strapi < 3.6.9
    Fixed in
    3.6.9· Vendor fix available
    Issue
    Storing passwords in a recoverable format in the DOCUMENTATION plugin component of Strapi before 3.6.9 and 4.x before 4.1.5 allows an attacker to access a victim's HTTP request. From this, the attacker can get the victim's cookie, base64 decode it, and obtain a cleartext password, leading to getting API documentation for further API attacks.

    Recommended action: Upgrade to 3.6.9 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  6. Medium, CVSS 6.1npmAmendedPublished

    Command injection in strapi

    CVE-2022-0764 · GHSA-xrjf-phvv-r4vr

    Affected
    • npm strapi < 4.1.0
    Fixed in
    4.1.0· Vendor fix available
    Issue
    When creating a strapi app using npxcreate-strapi-app, we can inject arbitrary commands through the template cli argument as per the code in this particular link, this happens due to improper sanitization of user input.

    Recommended action: Upgrade to 4.1.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  7. Critical, CVSS 9.8npmAmendedPublished

    Authorization bypass in Strapi

    CVE-2020-27664 · GHSA-7frv-9phw-vrvr

    Affected
    • npm strapi < 3.2.5
    Fixed in
    3.2.5· Vendor fix available
    Issue
    admin/src/containers/InputModalStepperProvider/index.js in Strapi before 3.2.5 has unwanted /proxy?url= functionality.

    Recommended action: Upgrade to 3.2.5 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  8. High, CVSS 7.2npmAmendedPublished

    Command Injection in strapi

    CVE-2019-19609 · GHSA-9p2w-rmx4-9mw7

    Affected
    • npm strapi <= 3.0.0-beta.17.7
    Fixed in
    3.0.0-beta.17.8· Vendor fix available
    Issue
    Versions of strapi before 3.0.0-beta.17.8 are vulnerable to Command Injection. The package fails to sanitize plugin names in the /admin/plugins/install/ route. This may allow an authenticated attacker with admin privileges to run arbitrary commands in the server. Recommendation Upgrade to version 3.0.0-beta.17.8 or later

    Recommended action: Upgrade to 3.0.0-beta.17.8 (pre-release) or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  9. Critical, CVSS 9.8npmAmendedPublished

    Strapi allows unauthenticated attacker to reset admin password without valid reset token

    CVE-2019-18818 · GHSA-6xc2-mj39-q599

    Affected
    • npm strapi <= 3.0.0-beta.17.4
    Fixed in
    3.0.0-beta.17.5· Vendor fix available
    Issue
    Versions of strapi prior to 3.0.0-beta.17.5 are vulnerable to Privilege Escalation. The password reset routes allows an unauthenticated attacker to reset an admin's password without providing a valid password reset token. Recommendation Upgrade to version 3.0.0-beta.17.5 or later.

    Recommended action: Upgrade to 3.0.0-beta.17.5 (pre-release) or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →