PT-2019-19871 · Gitnote · Gitnote

Published

2019-03-14

·

Updated

2021-07-21

·

CVE-2019-9785

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions gitnote version 3.1.0
Description The issue allows remote attackers to execute arbitrary code via a crafted Markdown file. This can be achieved by including a specific substring in the onerror attribute of an IMG element, such as javascript:window.parent.top.require('child process').execFile.
Recommendations For gitnote version 3.1.0, consider disabling the execution of external scripts or files until a patch is available. Restrict access to the Markdown file parsing functionality to minimize the risk of exploitation. Avoid using the onerror attribute in IMG elements within Markdown files until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

OS Command Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2019-9785

Affected Products

Gitnote