{"id":"CVE-2022-32177","state":"PUBLISHED","title":"Gin-vue-admin - Unrestricted File Upload","description":"In \"Gin-Vue-Admin\", versions v2.5.1 through v2.5.3beta are vulnerable to Unrestricted File Upload that leads to execution of javascript code, through the 'Normal Upload' functionality to the Media Library. When an admin user views the uploaded file, a low privilege attacker will get access to the admin’s cookie leading to account takeover.","publishedAt":"2022-10-14T07:00:14.339Z","updatedAt":"2025-05-14T15:19:24.105Z","severity":{"score":9,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"Mend","products":["gin-vue-admin gin-vue-admin"],"affected":[{"vendor":"gin-vue-admin","product":"gin-vue-admin","versions":[{"version":"v2.5.1","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThanOrEqual":"v2.5.3beta","versionType":"custom"}]}],"references":["https://www.mend.io/vulnerability-database/CVE-2022-32177","https://github.com/flipped-aurora/gin-vue-admin/blob/v2.5.3beta/web/src/components/upload/common.vue#L29-L37"],"weaknesses":["CWE-434"],"ingestedAt":"2026-10-29T19:50:09.278Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/32xxx/CVE-2022-32177.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-32177","state":"PUBLISHED","datePublished":"2022-10-14T07:00:14.339Z","dateUpdated":"2025-05-14T15:19:24.105Z","assignerShortName":"Mend","assignerOrgId":"478c68dd-22c1-4a41-97cd-654224dfacff","dateReserved":"2022-05-31T00:00:00.000Z"},"containers":{"cna":{"title":"Gin-vue-admin - Unrestricted File Upload","descriptions":[{"lang":"en","value":"In \"Gin-Vue-Admin\", versions v2.5.1 through v2.5.3beta are vulnerable to Unrestricted File Upload that leads to execution of javascript code, through the 'Normal Upload' functionality to the Media Library. When an admin user views the uploaded file, a low privilege attacker will get access to the admin’s cookie leading to account takeover."}],"affected":[{"vendor":"gin-vue-admin","product":"gin-vue-admin","versions":[{"version":"v2.5.1","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThanOrEqual":"v2.5.3beta","versionType":"custom"}]}],"references":[{"url":"https://www.mend.io/vulnerability-database/CVE-2022-32177"},{"url":"https://github.com/flipped-aurora/gin-vue-admin/blob/v2.5.3beta/web/src/components/upload/common.vue#L29-L37"}],"metrics":[{"other":{"type":"unknown","content":{"vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","version":3.1,"baseScore":9,"baseSeverity":"CRITICAL"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-434","type":"CWE","lang":"en","description":"CWE-434 Unrestricted Upload of File with Dangerous Type"}]}],"providerMetadata":{"shortName":"Mend","orgId":"478c68dd-22c1-4a41-97cd-654224dfacff","dateUpdated":"2022-10-14T00:00:00.000Z"},"datePublic":"2022-10-11T00:00:00.000Z","credits":[{"lang":"en","value":"Mend Vulnerability Research Team (MVR)"}],"x_generator":{"engine":"Vulnogram 0.0.9"},"source":{"advisory":"https://www.mend.io/vulnerability-database/","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://www.mend.io/vulnerability-database/CVE-2022-32177","tags":["x_transferred"]},{"url":"https://github.com/flipped-aurora/gin-vue-admin/blob/v2.5.3beta/web/src/components/upload/common.vue#L29-L37","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T07:32:55.999Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"CHANGED","version":"3.1","baseScore":9,"attackVector":"NETWORK","baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"REQUIRED","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-05-14T15:18:31.840168Z","id":"CVE-2022-32177","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-05-14T15:19:24.105Z"}}]}}}