ghsa-4vm8-j95f-j6v5
Vulnerability from github
Published
2022-07-14 00:00
Modified
2024-03-21 17:36
Severity ?
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.
{ "affected": [ { "package": { "ecosystem": "npm", "name": "@strapi/strapi" }, "ranges": [ { "events": [ { "introduced": "0" }, { "last_affected": "4.1.12" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2022-32114" ], "database_specific": { "cwe_ids": [ "CWE-434", "CWE-79" ], "github_reviewed": true, "github_reviewed_at": "2022-08-06T09:34:01Z", "nvd_published_at": "2022-07-13T21:15:00Z", "severity": "MODERATE" }, "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.", "id": "GHSA-4vm8-j95f-j6v5", "modified": "2024-03-21T17:36:58Z", "published": "2022-07-14T00:00:16Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-32114" }, { "type": "WEB", "url": "https://docs.strapi.io/dev-docs/configurations/public-assets" }, { "type": "WEB", "url": "https://docs.strapi.io/user-docs/users-roles-permissions/configuring-administrator-roles" }, { "type": "WEB", "url": "https://github.com/bypazs/strapi" }, { "type": "PACKAGE", "url": "https://github.com/strapi/strapi" }, { "type": "WEB", "url": "https://github.com/strapi/strapi/blob/d9277d616b4478a3839e79e47330a4aaf167a2f1/packages/core/content-type-builder/admin/src/components/AllowedTypesSelect/index.js#L14" }, { "type": "WEB", "url": "https://github.com/strapi/strapi/blob/d9277d616b4478a3839e79e47330a4aaf167a2f1/packages/core/upload/admin/src/components/MediaLibraryInput/index.js#L33" }, { "type": "WEB", "url": "https://grimthereaperteam.medium.com/strapi-v4-1-12-unrestricted-file-upload-b993bfd07e4e" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N", "type": "CVSS_V3" } ], "summary": "Strapi 4.1.12 Cross-site Scripting via crafted file" }
Loading...
Loading...
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.