CVE-2020-2115: XXE vulnerability in NUnit Plugin

org.jenkins-ci.plugins:nunit Updated 02 Oct 2025

Summary

24/05/2022
Yes i
High
7.6

CVE-2020-2115: XXE vulnerability in NUnit Plugin. Affects org.jenkins-ci.plugins:nunit versions < 0.26. Fixed in 0.26. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The NUnit Plugin is a Maven package (org.jenkins-ci.plugins:nunit) used in Jenkins, an open-source automation server. It provides support for running NUnit tests as part of the Jenkins build process. The plugin allows users to configure post-build steps that involve parsing XML files. However, versions 0.25 and earlier of the NUnit Plugin do not properly configure the XML parser to prevent XML external entity (XXE) attacks.

Vulnerability Detail

The XXE vulnerability in the NUnit Plugin allows an attacker who can control the input files for the post-build step to exploit the XML parser. By crafting a malicious XML file, the attacker can perform various attacks, including extracting secrets from the Jenkins controller, initiating server-side request forgery, or launching denial-of-service attacks. This vulnerability poses a high risk to the security and integrity of the Jenkins environment. The issue has been assigned a CVSS score of 7.6 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L).

How To Fix

Minimum fixed version

0.26

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to update to the fixed version of the NUnit Plugin to ensure the security of the Jenkins environment.

Conclusion

The XXE vulnerability in NUnit Plugin (CVE-2020-2115) poses a significant risk to the security of Jenkins environments. It is crucial to update to the fixed version (0.26) of the NUnit Plugin to mitigate the vulnerability. For further support and assistance in vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for org.jenkins-ci.plugins:nunit →

Share this vulnerability

FAQ

The vulnerability allows an attacker to exploit the XML parser in the NUnit Plugin, potentially leading to unauthorized access to secrets, server-side request forgery, or denial-of-service attacks.

You can use Vulert's playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities without requiring access to the code or installation.

Yes, the vulnerability has been fixed in NUnit Plugin version 0.26. It is recommended to update to the latest version to mitigate the risk.

No, there are no known workarounds for this vulnerability. Updating to the fixed version is the only solution.

Related vulnerabilities

Recent vulnerabilities recorded for org.jenkins-ci.plugins:nunit.

How To Fix

Minimum fixed version

0.26

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.