Skip to content
Heist/ feed
Back to feed
Critical

Gin-vue-admin vulnerable to Unrestricted Upload of File with Dangerous Type

Type: advisorySources: OSV

Gin-vue-admin is a backstage management system based on vue and gin, which separates the front and rear of the full stack. Versions prior to 2.5.4 contain a file upload ability. The affected code fails to validate fileMd5 and fileName parameters, resulting in an arbitrary file being read. This issue is patched in 2.5.4b. There are no known workarounds.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-39305
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 23:29 UTC · Revision 1

Source evidence

Gin-vue-admin vulnerable to Unrestricted Upload of File with Dangerous Type

core-osv · Original source

Published 24 Oct 2022, 00:00 UTC

Gin-vue-admin is a backstage management system based on vue and gin, which separates the front and rear of the full stack. Versions prior to 2.5.4 contain a file upload ability. The affected code fails to validate fileMd5 and fileName parameters, resulting in an arbitrary file being read. This issue is patched in 2.5.4b. There are no known workarounds.

osv:CVE-2022-39305
Complete source record
{
  "id": "e74e135263fe802f026fdc28c55b562f68a19311bdf12e219287b8eb72fe0df2",
  "url": "https://osv.dev/vulnerability/CVE-2022-39305",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Gin-vue-admin vulnerable to Unrestricted Upload of File with Dangerous Type",
    "summary": "Gin-vue-admin is a backstage management system based on vue and gin, which separates the front and rear of the full stack. Versions prior to 2.5.4 contain a file upload ability. The affected code fails to validate fileMd5 and fileName parameters, resulting in an arbitrary file being read. This issue is patched in 2.5.4b. There are no known workarounds.",
    "evidence": "osv:CVE-2022-39305",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2022-39305",
      "aliases": [
        "CVE-2022-39305",
        "GHSA-wrmq-4v4c-gxp2"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/flipped-aurora/gin-vue-admin",
              "type": "GIT",
              "events": [
                {
                  "introduced": "3ec4823533a1356b76eed5fc1a33432a77d97aea"
                },
                {
                  "fixed": "3ec4823533a1356b76eed5fc1a33432a77d97aea"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "2.5.4b"
                      },
                      {
                        "last_affected": "2.5.4b"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "cpe": "cpe:2.3:a:gin-vue-admin_project:gin-vue-admin:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.5.4b"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.5.4b"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-39305.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:40.695102783Z",
      "provider": "osv",
      "references": [
        "https://github.com/flipped-aurora/gin-vue-admin/blob/main/server/utils/breakpoint_continue.go",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39305.json",
        "https://github.com/flipped-aurora/gin-vue-admin/security/advisories/GHSA-wrmq-4v4c-gxp2",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-39305"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-434"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39305.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-39305",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 507988,
  "published_at": "2022-10-24T00:00:00+00:00"
}