{"id":"CVE-2020-2305","aliases":["CVE-2020-2305","GHSA-x58r-wxc3-7pqr"],"related":[],"kind":"vulnerability","state":"published","title":"XXE vulnerability in Jenkins Mercurial Plugin","summary":"Jenkins Mercurial Plugin 2.11 and earlier does not configure its XML parser to prevent XML external entity (XXE) attacks.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Jenkins Mercurial Plugin 2.11 and earlier does not configure its XML parser to prevent XML external entity (XXE) attacks.","source":"cvelist"},{"lang":"en","text":"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.\n\nThis 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.\n\nMercurial Plugin 2.12, 2.10.1, 2.9.1, and 2.8.1 disables external entity resolution for its XML parser.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Jenkins Mercurial Plugin versiones 2.11 y anteriores, no configura su analizador XML para impedir ataques de tipo XML external entity (XXE)","source":"nvd"}],"published":"2020-11-04T14:35:39.000Z","modified":"2026-06-17T03:12:10.833Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:N/A:N","score":4,"rating":"MEDIUM"}],"cwes":["CWE-611"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","lastAffected":"2.11","status":"affected"},{"version":"2.10.1","status":"unaffected"},{"version":"2.9.1","status":"unaffected"},{"version":"2.8.1","status":"unaffected"}],"vendor":"Jenkins project","product":"Jenkins Mercurial Plugin","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.11","status":"affected","fixed":"2.12"}],"ecosystem":"Maven","package":"org.jenkins-ci.plugins:mercurial","purl":"pkg:maven/org.jenkins-ci.plugins/mercurial","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.10","status":"affected","fixed":"2.10.1"}],"ecosystem":"Maven","package":"org.jenkins-ci.plugins:mercurial","purl":"pkg:maven/org.jenkins-ci.plugins/mercurial","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.9","status":"affected","fixed":"2.9.1"}],"ecosystem":"Maven","package":"org.jenkins-ci.plugins:mercurial","purl":"pkg:maven/org.jenkins-ci.plugins/mercurial","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.8.1"}],"ecosystem":"Maven","package":"org.jenkins-ci.plugins:mercurial","purl":"pkg:maven/org.jenkins-ci.plugins/mercurial","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"2.11"}],"vendor":"jenkins","product":"mercurial","cpe":"cpe:2.3:a:jenkins:mercurial:*:*:*:*:*:jenkins:*:*","source":"nvd"}],"references":[{"url":"https://www.jenkins.io/security/advisory/2020-11-04/#SECURITY-2115","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-2305","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/jenkinsci/mercurial-plugin/commit/84af58b08f80bb92792f7bc04a31487f3eeee95a","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/CVEProject/cvelist/blob/381fe967666a5ce01625a7a050427aa4757e3ca6/2020/2xxx/CVE-2020-2305.json","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/jenkinsci/mercurial-plugin","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"jenkins","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-2305","url":"https://www.cve.org/CVERecord?id=CVE-2020-2305","licence":"CVE Terms of Use","modified":"2024-08-04T07:09:53.308Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-x58r-wxc3-7pqr","url":"https://github.com/advisories/GHSA-x58r-wxc3-7pqr","licence":"CC-BY-4.0","modified":"2024-02-16T08:19:33.376Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-2305","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-2305","licence":"Public domain","modified":"2026-06-17T03:12:10.833Z"}],"updatedAt":"2026-11-25T22:57:55.581Z","epss":{"score":0.01494,"percentile":0.74944,"date":"2026-12-02T12:00:21.000Z"}}