{"id":"CVE-2023-31873","aliases":["EUVD-2023-36163","GHSA-pfw3-264h-9m32"],"status":"published","title":"Gin 0.7.4 allows execution of arbitrary code when a crafted file is opened, e.g., via require(...","description":"Gin 0.7.4 allows execution of arbitrary code when a crafted file is opened, e.g., via require('child_process').","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.01349,"percentile":0.71851,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"published":"2023-05-28T00:00:00Z","modified":"2026-06-17T05:57:36Z","exploits":[{"source":"exploitdb","id":"EDB-51469","title":"Gin Markdown Editor v0.7.4 (Electron) - Arbitrary Code Execution","type":"local","platform":"multiple","date":"2023-05-23","url":"https://www.exploit-db.com/exploits/51469"}],"products":[{"vendor":"gin_project","product":"gin"}],"references":[{"url":"http://packetstormsecurity.com/files/172530/Gin-Markdown-Editor-0.7.4-Arbitrary-Code-Execution.html","tags":["x_transferred","Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-31873"},{"url":"https://github.com/advisories/GHSA-pfw3-264h-9m32"}],"sources":{"cve":[{"id":"CVE-2023-31873","description":"Gin 0.7.4 allows execution of arbitrary code when a crafted file is opened, e.g., via require('child_process').","status":"published","published":"2023-05-28T00:00:00Z","modified":"2025-01-14T18:13:19.636Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"adp"}],"updated_at":"2026-11-02T14:35:27.810438Z"}],"euvd":[{"id":"EUVD-2023-36163","description":"Gin 0.7.4 allows execution of arbitrary code when a crafted file is opened, e.g., via require('child_process').","status":"published","published":"2023-05-28T00:00:00Z","modified":"2025-01-14T18:13:19Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-03T00:04:19.424496Z"}],"ghsa":[{"id":"GHSA-pfw3-264h-9m32","title":"Gin 0.7.4 allows execution of arbitrary code when a crafted file is opened, e.g., via require(...","description":"Gin 0.7.4 allows execution of arbitrary code when a crafted file is opened, e.g., via require('child_process').","status":"published","published":"2023-05-29T00:30:43Z","modified":"2024-04-04T04:22:15Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T14:56:23.412856Z"}],"nvd":[{"id":"CVE-2023-31873","description":"Gin 0.7.4 allows execution of arbitrary code when a crafted file is opened, e.g., via require('child_process').","status":"published","published":"2023-05-28T23:15:09.517Z","modified":"2026-06-17T05:57:36.927Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"updated_at":"2026-11-02T14:08:03.795015Z"}]}}
