nday
CVE-2023-31873

Gin 0.7.4 allows execution of arbitrary code when a crafted file is opened, e.g., via…Title composed by nday; the CVE record has none.

A public PoC appeared 5 days before the CVE record was published. nday has no fix record for it yet; that does not mean no patch exists. Listed by 1 of 4 PoC sources: exploitdb. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

local
AV:L in CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (CVSS 3.1) from the ADP CISA-ADP
no authentication required
PR:N in CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (CVSS 3.1) from the ADP CISA-ADP
Exploit-DB
Exploit-DB entries 51469
stage
POC
disclosed
cvss
7.8 HIGH v3.1

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2023-05-28T00:00Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
2023-05-23, date only
ITWexploited
no record yet
KEVKEV
no record yet

Summary

Gin 0.7.4 allows execution of arbitrary code when a crafted file is opened, e.g., via require('child_process').

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:L
Local: needs a local or SSH session, or a user tricked into acting on the machine
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:N
None: no account or authorization needed
User interaction UI:R
Required: a user must do something, such as open a file or click a link

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CVSS 3.1 vector from the CVE record, added by the ADP CISA-ADP.

Event log

2023-05-23date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “Gin Markdown Editor v0.7.4 (Electron) - Arbitrary Code Execution” (EDB-51469).

src exploitdb 51469 · nday , bulk import · raw
{
  "id": 26576,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/51469",
  "occurred_at": "2023-05-23T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "51469",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/51469",
    "file": "exploits/multiple/local/51469.txt",
    "kind": "exploit",
    "tags": [],
    "type": "local",
    "title": "Gin Markdown Editor v0.7.4 (Electron) - Arbitrary Code Execution",
    "author": "8bitsec",
    "edb_id": 51469,
    "cve_ids": [
      "CVE-2023-31873"
    ],
    "platform": "multiple",
    "verified": false,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2023-05-23",
    "date_updated": "2023-05-23",
    "date_published": "2023-05-23"
  }
}
+DISdisclosed

CVE record published by mitre. CVSS 7.8, high.

src cvelist · nday , bulk import · raw
{
  "id": 60894,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2023-31873",
  "occurred_at": "2023-05-28T00:00:00Z",
  "observed_at": "2026-11-12T18:01:52.55281Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "adp:CISA-ADP",
      "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "version": "3.1",
      "base_score": 7.8,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2025-01-14T18:13:13.063573Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2023-05-28T00:00:00.000Z",
    "assigner_short_name": "mitre"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.