High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2019-9785
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 10:43 UTC · Revision 1
Source evidence
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.
osv:CVE-2019-9785
Complete source record
{
"id": "30264f709061feca2e98399496c61e3bad5864cfa8856ccd0e923e447cf10dc0",
"url": "https://osv.dev/vulnerability/CVE-2019-9785",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2019-9785",
"summary": "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.",
"evidence": "osv:CVE-2019-9785",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2019-9785",
"aliases": [
"CVE-2019-9785"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/zhaopengme/gitnote",
"type": "GIT",
"events": [
{
"introduced": "31a2af452c5a576af018901259f50ff039d2eb86"
},
{
"last_affected": "31a2af452c5a576af018901259f50ff039d2eb86"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:gitnoteapp:gitnote:3.1.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.1.0"
},
{
"last_affected": "3.1.0"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"3.1.0",
"3.0.4"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-9785.json"
}
}
],
"modified": "2026-10-20T10:51:34.560658091Z",
"provider": "osv",
"references": [
"https://github.com/CCCCCrash/POCs/tree/master/Web/gitnote",
"https://github.com/zhaopengme/gitnote/issues/209"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2019-9785",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 382582,
"published_at": "2019-03-14T14:29:00.257+00:00"
}