WaratekVRT Sign in

CVE-2020-2305 Jenkins Mercurial

Affected softwareJenkins Mercurial
Severity6.5 Medium CVSS 3.1 2 scores
Fixed in2.12, 2.10.1, 2.9.1, 2.8.1
WeaknessXML external entity (XXE) (CWE-611)
Published4 Nov 2020
Updated17 Jun 2026

Description

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

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 6 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 1.5% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

  • Protection full XXE
  • Action available security rule
  • Review automated Inferred
  • Record active
Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR xxe security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-611: XML External Entity Reference.

How to mitigate CVE-2020-2305

Upgrade Jenkins Mercurial to a release that fixes it: 2.12, 2.10.1, 2.9.1 or 2.8.1. Until you can, Waratek RASP blocks exploitation with its XXE rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

6.5 MEDIUM v3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 6.5 MEDIUM CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N NVD Primary published
CVSS 2.0 4.0 none AV:N/AC:L/Au:S/C:P/I:N/A:N NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.jenkins-ci.plugins:mercurial 2.11 2.12 unbounded
org.jenkins-ci.plugins:mercurial 2.10 2.10.1 unbounded
org.jenkins-ci.plugins:mercurial 2.9 2.9.1 unbounded
org.jenkins-ci.plugins:mercurial 0 2.8.1 unbounded

Products and versions

2 products, 5 version entries
SourceVendorProductSchemeAffected versions
nvd jenkins mercurial generic ≤ 2.11
osv org.jenkins-ci.plugins mercurial generic < 2.8.1 · ≥ 2.9 and < 2.9.1 · ≥ 2.10 and < 2.10.1 · ≥ 2.11 and < 2.12

References

URLTags
https://github.com/jenkinsci/mercurial-plugin/commit/84af58b08f80bb92792f7bc04a31487f3eeee95a WEB
https://github.com/CVEProject/cvelist/blob/381fe967666a5ce01625a7a050427aa4757e3ca6/2020/2xxx/CVE-2020-2305.json WEB
https://github.com/jenkinsci/mercurial-plugin PACKAGE
https://www.jenkins.io/security/advisory/2020-11-04/#SECURITY-2115 WEB

Timeline

Published2020-11-04By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.