GHSA-4vm8-j95f-j6v5

Suggest an improvement
Source
https://github.com/advisories/GHSA-4vm8-j95f-j6v5
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/07/GHSA-4vm8-j95f-j6v5/GHSA-4vm8-j95f-j6v5.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-4vm8-j95f-j6v5
Aliases
Published
2022-07-14T00:00:16Z
Modified
2024-03-21T17:36:58Z
Severity
  • 4.6 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N CVSS Calculator
Summary
Strapi 4.1.12 Cross-site Scripting via crafted file
Details

An unrestricted file upload vulnerability in the Add New Assets function of Strapi v4.1.12 allows attackers to execute arbitrary code via a crafted file. After an authenticated attacker uploads a file containing a malicious URL, a victim copies and pastes the malicious URL into a new tab to receive the XSS payload.

Database specific
{
    "github_reviewed_at": "2022-08-06T09:34:01Z",
    "severity": "MODERATE",
    "cwe_ids": [
        "CWE-434",
        "CWE-79"
    ],
    "github_reviewed": true,
    "nvd_published_at": "2022-07-13T21:15:00Z"
}
References

Affected packages

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
0Unknown introduced version / All previous versions are affected
Last affected
4.1.12