Information Exposure Affecting strapi package, versions <3.6.10


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.1% (45th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-STRAPI-2840623
  • published20 May 2022
  • disclosed20 May 2022
  • creditSuthee Saetia (Netassess Consulting Co., Ltd.)

Introduced: 20 May 2022

CVE-2022-30618  (opens in a new tab)
CWE-200  (opens in a new tab)

How to fix?

Upgrade strapi to version 3.6.10 or higher.

Overview

strapi is a HTTP layer sits on top of Koa.

Affected versions of this package are vulnerable to Information Exposure by allowing an authenticated user with access to the admin panel to view private and sensitive data, such as email and password reset tokens via API responses. 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.

Note: Versions 4.0.0 up to 4.1.9 are also vulnerable, however, they're available only through the Github repository. Upgrade to version 4.1.10 to fix this vulnerability.

CVSS Scores

version 3.1