# CVE-2020-2305: XXE vulnerability in Jenkins Mercurial Plugin

Source: https://junglewise.ai/threats/cve-2020-2305-xxe-vulnerability-in-jenkins-mercurial-plugin  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-24  
License: CC BY 4.0 with a link back

CVE-2020-2305 · Severity: low · CVSS 3.1 · Published 2022-05-24

XXE vulnerability in Jenkins Mercurial Plugin

Technologies: [org.jenkins-ci.plugins:mercurial (Maven)](https://junglewise.ai/threats/technologies/org-jenkins-ci-plugins-mercurial). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2020-2305 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2020-2305 being exploited in the wild.

**How severe is CVE-2020-2305?** Low severity, with a CVSS score of 3.1, published 24 May 2022.

**Which products and versions are affected?** org.jenkins-ci.plugins:mercurial (Maven) ECOSYSTEM:introduced=2.11,fixed=2.12.

**Is there a fix for CVE-2020-2305?** Yes. org.jenkins-ci.plugins:mercurial (Maven): upgrade to 2.12 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2020-2305?** Check whether you run org.jenkins-ci.plugins:mercurial (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.jenkins-ci.plugins:mercurial (Maven): upgrade to 2.12 or later

  ```sh
  # set org.jenkins-ci.plugins:mercurial to 2.12 in your pom.xml or build.gradle
  ```


## Affected products

- org.jenkins-ci.plugins:mercurial (Maven) ECOSYSTEM:introduced=2.11,fixed=2.12

## Identifiers

- CVE-2020-2305
- GHSA-x58r-wxc3-7pqr

## Related threats

- [Webhook endpoint discloses job names to unauthorized users in Jenkins Mercurial Plugin](https://junglewise.ai/threats/cve-2022-43410-webhook-endpoint-discloses-job-names-to-unauthorized-users-in)
- [Missing Authorization in Jenkins Mercurial Plugin](https://junglewise.ai/threats/cve-2020-2306-missing-authorization-in-jenkins-mercurial-plugin)
- [Path traversal in Jenkins REPO Plugin](https://junglewise.ai/threats/cve-2022-30949-path-traversal-in-jenkins-repo-plugin)
- [Path traversal in Jenkins Git Mercurial and Repo Plugins](https://junglewise.ai/threats/cve-2022-30947-path-traversal-in-jenkins-git-mercurial-and-repo-plugins)
- [Path traversal in Jenkins Mercurial Plugin](https://junglewise.ai/threats/cve-2022-30948-path-traversal-in-jenkins-mercurial-plugin)
