CVE-2019-9785
gitnote 3.1.0 allows remote attackers to execute arbitrary code via a crafted Markdown file, as demonstrated by a javascript:window.parent.top.require('child_process').execFile substring in the onerror attribute of an IMG element.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (4.52%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
gitnote 3.1.0 allows remote attackers to execute arbitrary code via a crafted Markdown file, as demonstrated by a javascript:window.parent.top.require('child_process').execFile substring in the onerror attribute of an IMG element.
- CVSS 3.0
- 7.8 HIGHCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS
- 4.52% probability · 91th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-78
- Affected
- gitnoteapp/gitnote
- Source
- cve@mitre.org
References
- https://github.com/CCCCCrash/POCs/tree/master/Web/gitnoteExploit, Third Party Advisory
- https://github.com/zhaopengme/gitnote/issues/209Exploit, Third Party Advisory
- https://github.com/CCCCCrash/POCs/tree/master/Web/gitnoteExploit, Third Party Advisory
- https://github.com/zhaopengme/gitnote/issues/209Exploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.