CVE-2023-31873
HIGHGin Markdown Editor 0.7.4 - Code Execution via Crafted File
Title source: manualExploitation Summary
EIP tracks 1 public exploit for CVE-2023-31873. PoCs published by 8bitsec.
AI-analyzed exploit summary This exploit leverages an XSS vulnerability in Gin Markdown Editor v0.7.4 to achieve arbitrary code execution by embedding malicious JavaScript in a markdown file. The payload uses the `onerror` event handler to execute system commands via Node.js's `child_process` module.
Description
Gin 0.7.4 allows execution of arbitrary code when a crafted file is opened, e.g., via require('child_process').
Exploits (1)
This exploit leverages an XSS vulnerability in Gin Markdown Editor v0.7.4 to achieve arbitrary code execution by embedding malicious JavaScript in a markdown file. The payload uses the `onerror` event handler to execute system commands via Node.js's `child_process` module.
References (1)
Scores
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H