GHSA-vgj7-895j-gpr6

Suggest an improvement
Source
https://github.com/advisories/GHSA-vgj7-895j-gpr6
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-vgj7-895j-gpr6/GHSA-vgj7-895j-gpr6.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-vgj7-895j-gpr6
Aliases
Published
2022-05-20T00:00:28Z
Modified
2023-11-08T04:09:19Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Improper Removal of Sensitive Information Before Storage or Transfer in Strapi
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-212"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2022-06-07T21:17:06Z",
    "nvd_published_at": "2022-05-19T18:15:00Z",
    "severity": "HIGH"
}
References

Affected packages

npm / strapi

Package

Affected ranges

Type
SEMVER
Events
Introduced
3.0.0
Fixed
3.6.9

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-vgj7-895j-gpr6/GHSA-vgj7-895j-gpr6.json"

npm / @strapi/strapi

Package

Name
@strapi/strapi
View open source insights on deps.dev
Purl
pkg:npm/%40strapi/strapi

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
4.1.9

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-vgj7-895j-gpr6/GHSA-vgj7-895j-gpr6.json"