CVE-2019-12047 Cross-site scripting in n/a
An XSS vulnerability in Gridea allows attackers to execute arbitrary code via Node.js modules, posing a risk to users of the static blog generator.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2019-12047?
CVE-2019-12047 is a medium-severity cross-site scripting vulnerability in n/a, published on 13 May 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Gridea v0.8.0 has an XSS vulnerability through which the Nodejs module can be called to achieve arbitrary code execution, as demonstrated by child_process.exec and the "<img src=# onerror='eval(new Buffer(" substring.
Weakness: CWE-79
Which versions are affected by CVE-2019-12047?
It affects 1 product.
Products include Gridea Gridea.
How do I fix CVE-2019-12047?
No fix has been published for CVE-2019-12047 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2019-12047 being exploited?
There is no known exploitation of CVE-2019-12047 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-q4gr-p99g-9293.