CVE-2023-31873
Gin 0.7.4 allows execution of arbitrary code when a crafted file is opened, e.g., via require(...
Gin 0.7.4 allows execution of arbitrary code when a crafted file is opened, e.g., via require('child_process').
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.8
Gin 0.7.4 allows execution of arbitrary code when a crafted file is opened, e.g., via require('child_process').
- Record
CVE-2023-31873- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
CVE List
7.8
Gin 0.7.4 allows execution of arbitrary code when a crafted file is opened, e.g., via require('child_process').
- Record
CVE-2023-31873- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
EUVDEUVD-2023-36163
7.8
Gin 0.7.4 allows execution of arbitrary code when a crafted file is opened, e.g., via require('child_process').
- Record
EUVD-2023-36163- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-pfw3-264h-9m32
7.8
Gin 0.7.4 allows execution of arbitrary code when a crafted file is opened, e.g., via require(...
Gin 0.7.4 allows execution of arbitrary code when a crafted file is opened, e.g., via require('child_process').
- Record
GHSA-pfw3-264h-9m32- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Affected products
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | Gin Markdown Editor v0.7.4 (Electron) - Arbitrary Code Execution | 2023-05-23 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, Exploit-DB, GitHub Advisories, NVD |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-31873 is a high vulnerability (CVSS 7.8) in Gin Project Gin, published May 28, 2023. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 1.35%, the 71st percentile. No source names a fixed version.