CVE-2020-2246 Stored XSS vulnerability in Jenkins Valgrind Plugin
Attackers controlling Valgrind XML reports can inject malicious scripts into Jenkins, potentially leading to session hijacking or code execution.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2020-2246?
CVE-2020-2246 is a medium-severity cross-site scripting vulnerability in Jenkins Valgrind Plugin, published on 1 Sep 2020. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Jenkins Valgrind Plugin 0.28 and earlier does not escape content in Valgrind XML reports, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to control Valgrind XML report contents.
Weakness: CWE-79
Which versions are affected by CVE-2020-2246?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:valgrind. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:valgrind Maven | All versions to 0.28 | None |
org.jenkins-ci.plugins:valgrind Maven | All versions to 0.28 | None |
Products include Jenkins Valgrind.
How do I fix CVE-2020-2246?
No fix has been published for CVE-2020-2246 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-2020-2246 being exploited?
There is no known exploitation of CVE-2020-2246 in the wild and no public exploit code.
Other vulnerabilities in Jenkins Valgrind Plugin
Sources
Also known as GHSA-9hcr-66cj-r9hp.