Critical
Gin-vue-admin - Unrestricted File Upload
Type: advisorySources: OSV
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-32177
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 21:59 UTC · Revision 1
Source evidence
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.
osv:CVE-2022-32177
Complete source record
{
"id": "c27f0701b484b6fcf542c869d25cc36b3ac9e21628ef77fb496fe808561e897c",
"url": "https://osv.dev/vulnerability/CVE-2022-32177",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Gin-vue-admin - Unrestricted File Upload",
"summary": "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.",
"evidence": "osv:CVE-2022-32177",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2022-32177",
"aliases": [
"CVE-2022-32177"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/flipped-aurora/gin-vue-admin",
"type": "GIT",
"events": [
{
"introduced": "076e1092f0daff63f64bf38354a8f24ac6e67a4e"
},
{
"last_affected": "3b6e6495c5e58230ce8006116d7aaefb2b08c403"
},
{
"introduced": "76be6b8847cfdd7032db82fce0a0a0c71ac7efcd"
},
{
"last_affected": "76be6b8847cfdd7032db82fce0a0a0c71ac7efcd"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:gin-vue-admin_project:gin-vue-admin:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.5.1"
},
{
"last_affected": "2.5.2"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:gin-vue-admin_project:gin-vue-admin:2.5.3:beta:*:*:*:*:*:*",
"range": [
{
"introduced": "2.5.3-beta"
},
{
"last_affected": "2.5.3-beta"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"2.5.3-beta",
"v2.5.3beta",
"v2.5.2",
"v2.5.1b"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-32177.json"
}
}
],
"modified": "2026-10-28T02:30:24.157522320Z",
"provider": "osv",
"references": [
"https://github.com/flipped-aurora/gin-vue-admin/blob/v2.5.3beta/web/src/components/upload/common.vue#L29-L37",
"https://www.mend.io/vulnerability-database/CVE-2022-32177",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/32xxx/CVE-2022-32177.json",
"https://nvd.nist.gov/vuln/detail/CVE-2022-32177"
],
"provider_metadata": {
"cwe_ids": [
"CWE-434"
],
"cna_assigner": "Mend",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/32xxx/CVE-2022-32177.json"
}
},
"related_cves": [
{
"value": "CVE-2022-32177",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 490426,
"published_at": "2022-10-14T07:00:14.339+00:00"
}