Every CVE Search/ Get API key

CVE-2020-2305

XXE vulnerability in Jenkins Mercurial Plugin

6.5 MediumFix available

Jenkins Mercurial Plugin 2.11 and earlier does not configure its XML parser to prevent XML external entity (XXE) attacks.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
None

Exploit likelihood

1.49%Up 0.9 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 6.5

Jenkins Mercurial Plugin 2.11 and earlier does not configure its XML parser to prevent XML external entity (XXE) attacks.

Record
CVE-2020-2305
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS 2.0
4.0 MediumAV:N/AC:L/Au:S/C:P/I:N/A:N
Updated
2026-11-02
CVE List No score

Jenkins Mercurial Plugin 2.11 and earlier does not configure its XML parser to prevent XML external entity (XXE) attacks.

Record
CVE-2020-2305
Updated
2026-11-02
EUVDEUVD-2022-5714 No score

Jenkins Mercurial Plugin 2.11 and earlier does not configure its XML parser to prevent XML external entity (XXE) attacks.

Record
EUVD-2022-5714
Updated
2026-11-03
GitHub AdvisoriesGHSA-x58r-wxc3-7pqr 6.5

XXE vulnerability in Jenkins Mercurial Plugin

Jenkins Mercurial Plugin prior to 2.12, 2.10.1, 2.9.1, and 2.8.1 does not configure its XML changelog parser to prevent XML external entity (XXE) attacks.

This allows attackers able to control an agent process to have Jenkins parse a crafted changelog file that uses external entities for extraction of secrets from the Jenkins controller or server-side request forgery.

Mercurial Plugin 2.12, 2.10.1, 2.9.1, and 2.8.1 disables external entity resolution for its XML parser.

Record
GHSA-x58r-wxc3-7pqr
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-611
Updated
2026-11-02
OSV 6.5

Jenkins Mercurial Plugin 2.11 and earlier does not configure its XML parser to prevent XML external entity (XXE) attacks.

Record
CVE-2020-2305
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVGHSA-x58r-wxc3-7pqr 6.5

XXE vulnerability in Jenkins Mercurial Plugin

Jenkins Mercurial Plugin prior to 2.12, 2.10.1, 2.9.1, and 2.8.1 does not configure its XML changelog parser to prevent XML external entity (XXE) attacks.

This allows attackers able to control an agent process to have Jenkins parse a crafted changelog file that uses external entities for extraction of secrets from the Jenkins controller or server-side request forgery.

Mercurial Plugin 2.12, 2.10.1, 2.9.1, and 2.8.1 disables external entity resolution for its XML parser.

Record
GHSA-x58r-wxc3-7pqr
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-611
Updated
2026-11-02
Show 4 moreShow less
OSVRHSA-2021:0034 6.5

Red Hat Security Advisory: OpenShift Container Platform 4.5.27 packages and security update

Record
RHSA-2021:0034
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Updated
2026-11-02
OSVRHSA-2021:0038 7.5

Red Hat Security Advisory: OpenShift Container Platform 4.6.12 packages and security update

Record
RHSA-2021:0038
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2021:0282 6.5

Red Hat Security Advisory: OpenShift Container Platform 4.4.33 packages and security update

Record
RHSA-2021:0282
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVRHSA-2021:0637 8.0

Red Hat Security Advisory: OpenShift Container Platform 3.11.394 bug fix and security update

Record
RHSA-2021:0637
CVSS 3.1
8.0 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.jenkins-ci.plugins:mercurial
Maven
2.11 to 2.11
2.12
org.jenkins-ci.plugins:mercurial
Maven
2.10 to 2.10
2.10.1
org.jenkins-ci.plugins:mercurial
Maven
2.9 to 2.9
2.9.1
org.jenkins-ci.plugins:mercurial
Maven
before 2.8.1
2.8.1
org.jenkins-ci.plugins:mercurial
Maven
2.11 up to 2.12
2.12
org.jenkins-ci.plugins:mercurial
Maven
2.10 up to 2.10.1
2.10.1
org.jenkins-ci.plugins:mercurial
Maven
2.9 up to 2.9.1
2.9.1
org.jenkins-ci.plugins:mercurial
Maven
before 2.8.1, plus listed versions
1.371.381.391.401.41
Show 40 moreShow less
1.421.431.441.451.461.471.481.48-beta-11.491.501.50-beta-11.50-beta-21.50.11.511.51-beta-11.51-beta-21.51-beta-31.521.531.541.551.561.571.581.58-beta-11.591.601.612.02.0-alpha-12.0-alpha-42.0-beta-12.12.22.32.42.52.62.72.8
2.8.1
jenkins-2-plugins
Red Hat:openshift:4.5::el7
From an advisory covering 7 CVEs
before 0:4.5.1610108899-1.el7
0:4.5.1610108899-1.el7
python-urllib3
Red Hat:openshift:4.5::el7
From an advisory covering 7 CVEs
before 0:1.26.2-1.el7
0:1.26.2-1.el7
Show 19 moreShow less
Affected packages
PackageAffectedFixed
python2-urllib3
Red Hat:openshift:4.5::el7
From an advisory covering 7 CVEs
before 0:1.26.2-1.el7
0:1.26.2-1.el7
jenkins-2-plugins
Red Hat:openshift:4.6::el7
From an advisory covering 7 CVEs
before 0:4.6.1608634578-1.el7
0:4.6.1608634578-1.el7
jenkins-2-plugins
Red Hat:openshift:4.6::el8
From an advisory covering 7 CVEs
before 0:4.6.1609853716-1.el8
0:4.6.1609853716-1.el8
openshift
Red Hat:openshift:4.6::el7
From an advisory covering 7 CVEs
before 0:4.6.0-202012190744.p0.git.94235.c62c6f7.el7
0:4.6.0-202012190744.p0.git.94235.c62c6f7.el7
openshift-clients
Red Hat:openshift:4.6::el7
From an advisory covering 7 CVEs
before 0:4.6.0-202012172338.p0.git.3800.30af700.el7
0:4.6.0-202012172338.p0.git.3800.30af700.el7
openshift-clients-redistributable
Red Hat:openshift:4.6::el7
From an advisory covering 7 CVEs
before 0:4.6.0-202012172338.p0.git.3800.30af700.el7
0:4.6.0-202012172338.p0.git.3800.30af700.el7
openshift-hyperkube
Red Hat:openshift:4.6::el7
From an advisory covering 7 CVEs
before 0:4.6.0-202012190744.p0.git.94235.c62c6f7.el7
0:4.6.0-202012190744.p0.git.94235.c62c6f7.el7
cri-o
Red Hat:openshift:4.6::el8
From an advisory covering 7 CVEs
before 0:1.19.1-2.rhaos4.6.git2af9ecf.el8
0:1.19.1-2.rhaos4.6.git2af9ecf.el8
cri-o-debuginfo
Red Hat:openshift:4.6::el8
From an advisory covering 7 CVEs
before 0:1.19.1-2.rhaos4.6.git2af9ecf.el8
0:1.19.1-2.rhaos4.6.git2af9ecf.el8
cri-o-debugsource
Red Hat:openshift:4.6::el8
From an advisory covering 7 CVEs
before 0:1.19.1-2.rhaos4.6.git2af9ecf.el8
0:1.19.1-2.rhaos4.6.git2af9ecf.el8
openshift
Red Hat:openshift:4.6::el8
From an advisory covering 7 CVEs
before 0:4.6.0-202012190744.p0.git.94235.c62c6f7.el8
0:4.6.0-202012190744.p0.git.94235.c62c6f7.el8
openshift-clients
Red Hat:openshift:4.6::el8
From an advisory covering 7 CVEs
before 0:4.6.0-202012172338.p0.git.3800.30af700.el8
0:4.6.0-202012172338.p0.git.3800.30af700.el8
openshift-clients-redistributable
Red Hat:openshift:4.6::el8
From an advisory covering 7 CVEs
before 0:4.6.0-202012172338.p0.git.3800.30af700.el8
0:4.6.0-202012172338.p0.git.3800.30af700.el8
openshift-hyperkube
Red Hat:openshift:4.6::el8
From an advisory covering 7 CVEs
before 0:4.6.0-202012190744.p0.git.94235.c62c6f7.el8
0:4.6.0-202012190744.p0.git.94235.c62c6f7.el8
jenkins-2-plugins
Red Hat:openshift:4.4::el7
From an advisory covering 2 CVEs
before 0:4.4.1611203637-1.el7
0:4.4.1611203637-1.el7
jenkins
Red Hat:openshift:3.11::el7
From an advisory covering 19 CVEs
before 0:2.263.3.1612433584-1.el7
0:2.263.3.1612433584-1.el7
jenkins-2-plugins
Red Hat:openshift:3.11::el7
From an advisory covering 19 CVEs
before 0:3.11.1612862361-1.el7
0:3.11.1612862361-1.el7
python-rsa
Red Hat:openshift:3.11::el7
From an advisory covering 19 CVEs
before 0:4.5-3.el7
0:4.5-3.el7
python2-rsa
Red Hat:openshift:3.11::el7
From an advisory covering 19 CVEs
before 0:4.5-3.el7
0:4.5-3.el7

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2020-2305 is a medium vulnerability (CVSS 6.5) in Jenkins Mercurial, published November 4, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.49%, the 74th percentile. Fixed in org.jenkins-ci.plugins:mercurial 2.12.

References

Show 107 moreShow less
MoveEnter Open