CVE-2023-32984 Jenkins TestNG Results Plugin Stored Cross-site Scripting vulnerability
Attackers can inject malicious scripts via crafted TestNG report files, leading to stored XSS in Jenkins.
- 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
- Available
What is CVE-2023-32984?
CVE-2023-32984 is a medium-severity cross-site scripting vulnerability in Jenkins TestNG Results Plugin, published on 16 May 2023. 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 TestNG Results Plugin 730.v4c5283037693 and earlier does not escape several values that are parsed from TestNG report files and displayed on the plugin's test information pages, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to provide a crafted TestNG report file.
Weakness: CWE-79
Which versions are affected by CVE-2023-32984?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:testng-plugin. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:testng-plugin Maven | All versions | 730.732.v959a |
org.jenkins-ci.plugins:testng-plugin Maven | All versions | 730.732.v959a |
Products include Jenkins Testng Results.
How do I fix CVE-2023-32984?
Upgrade org.jenkins-ci.plugins:testng-plugin to 730.732.v959a or later.
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-2023-32984 being exploited?
There is no known exploitation of CVE-2023-32984 in the wild and no public exploit code.
Other vulnerabilities in Jenkins TestNG Results Plugin
Sources
Also known as GHSA-h3hg-r97v-5r9w.