CVE-2021-21628
MEDIUM 5.4CVSS 3.1Stored XSS vulnerability in Jenkins Build With Parameters Plugin
Jenkins Build With Parameters Plugin 1.5 and earlier does not escape parameter names and descriptions, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers with Job/Configure permission.
- Published
- 30 Mar 2021
- Last modified
- 17 Jun 2026
- Assigned by
- jenkinsci-cert@googlegroups.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-xjrg-6fv9-6rjg
- Sources
- NVDJSONOSV GHSA-xjrg-6fv9-6rjgJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | jenkins | build_with_parameterscpe:2.3:a:jenkins:build_with_parameters:*:*:*:*:*:jenkins:*:* |
<= 1.5 | |
| OSV | Maven | org.jenkins-ci.plugins:build-with-parameters | < 1.5.1 | 1.5.1 |
References
- http://www.openwall.com/lists/oss-security/2021/03/30/1 · Mailing List, Third Party Advisory, WEB
- https://www.jenkins.io/security/advisory/2021-03-30/#SECURITY-2231 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-21628 · ADVISORY
- https://github.com/jenkinsci/build-with-parameters-plugin/commit/edbc286cfd1419a40589a8c40d03ef9fe71dccf9 · WEB
- https://github.com/jenkinsci/build-with-parameters-plugin · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 30 Mar 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 May 2022)