CVE-2021-21628
MediumStored XSS vulnerability in Jenkins Build With Parameters Plugin
Published May 24, 2022 · Updated Jul 9, 2026 · Also known as GHSA-xjrg-6fv9-6rjg
Key Facts
Patch immediately- CVE-2021-21628 is a medium-severity vulnerability (CVSS 5.4 v3.1) affecting Build With Parameters (Jenkins), org.jenkins-ci.plugins:build-with-parameters (maven), Jenkins Build With Parameters Plugin.
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 81% probability of exploitation in the next 30 days.
- Fixed versions are available, including Build With Parameters <=1.5, org.jenkins-ci.plugins:build-with-parameters 1.5.1, Build With Parameters 1.5.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v3.1
5.4
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
EPSS (30-day exploit likelihood)
81%
Higher than 99.6% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
None known
Get the full CVE-2021-21628 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
Description
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.
Affected Products
3 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| Build With ParametersJenkins | See advisory | 1.5 |
| org.jenkins-ci.plugins:build-with-parametersmaven | See advisory | 1.5.1 |
| Jenkins Build With Parameters Plugin | >= unspecified | n/a |
Patched Releases
Build With Parameters
<=1.5
org.jenkins-ci.plugins:build-with-parameters
1.5.1
Timeline
Publicly disclosed
May 24, 2022
Last updated
Jul 9, 2026
Weakness Type
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- advisoryGHSA advisory
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2021-21628
- advisoryhttps://www.jenkins.io/security/advisory/2021-03-30/#SECURITY-2231
- advisory[oss-security] 20210330 Multiple vulnerabilities in Jenkins plugins
- articlehttps://github.com/jenkinsci/build-with-parameters-plugin/commit/edbc286cfd1419a40589a8c40d03ef9fe71dccf9
FAQ
Common Questions.
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.
Affected: Build With Parameters (Jenkins); org.jenkins-ci.plugins:build-with-parameters (maven); Jenkins Build With Parameters Plugin versions >= unspecified. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including Build With Parameters <=1.5, org.jenkins-ci.plugins:build-with-parameters 1.5.1, Build With Parameters 1.5.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2021-21628 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo