{"id":"CVE-2021-21658","aliases":["GHSA-p674-hh8x-rv5h"],"url":"https://o3.security/vulnerability/CVE-2021-21658","summary":"XML external entity vulnerability in Jenkins Nuget Plugin","details":"Jenkins Nuget Plugin 1.0 and earlier does not configure its XML parser to prevent XML external entity (XXE) attacks. This XML parser is used for the \\\"Build on NuGet updates\\\" feature.\n\nThis allows attackers with the ability to control the contents of the `packages.config` file in a workspace to have Jenkins parse a crafted XML document that uses external entities for extraction of secrets from the Jenkins controller or server-side request forgery.\n\nJenkins Nuget Plugin 1.1 disables external entity resolution for its XML parser.","published":"2021-05-25T17:15:08.073Z","modified":"2026-07-08T23:58:40.468799Z","cvss":{"score":9.1,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"},"epss":{"score":0.01536,"percentile":0.73571,"asOf":"2026-09-16"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"org.jenkins-ci.plugins:nuget","fixedVersion":"1.1"}],"fix":{"url":"https://github.com/jenkinsci/nuget-plugin/commit/542bf38ac52f045741a5670e1644af351878f7e0","label":"jenkinsci/nuget-plugin@542bf38"},"references":[{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2021/05/25/3"},{"type":"ADVISORY","url":"https://www.jenkins.io/security/advisory/2021-05-25/#SECURITY-2340"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21658"},{"type":"WEB","url":"https://github.com/jenkinsci/nuget-plugin/commit/542bf38ac52f045741a5670e1644af351878f7e0"},{"type":"WEB","url":"https://github.com/jenkinsci/nuget-plugin/commit/c8ed4cb5b1c42f3c407f9f418b4e0b4274bea5a9"},{"type":"PACKAGE","url":"https://github.com/jenkinsci/nuget-plugin"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T23:58:40.468799Z"}}