Information Exposure Affecting strapi package, versions <3.6.10
Snyk CVSS
Threat Intelligence
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 ID SNYK-JS-STRAPI-2840623
- published 20 May 2022
- disclosed 20 May 2022
- credit Suthee Saetia (Netassess Consulting Co., Ltd.)
Introduced: 20 May 2022
CVE-2022-30618 Open this link in a new tabHow 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.