CVE-2019-9785 Code injection in n/a

High 7.8 Published Updated

Remote attackers can execute arbitrary code in GitNote by tricking users into opening a crafted Markdown file containing malicious JavaScript.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2019-9785?

CVE-2019-9785 is a high-severity code injection vulnerability in n/a, published on 14 Mar 2019. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-78

Which versions are affected by CVE-2019-9785?

It affects 1 product.

Products include Gitnoteapp Gitnote.

How do I fix CVE-2019-9785?

No fix has been published for CVE-2019-9785 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2019-9785 being exploited?

There is no known exploitation of CVE-2019-9785 in the wild and no public exploit code.

Sources

Also known as GHSA-x4cr-8fcr-8qvc.

Is CVE-2019-9785 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free