# CVE-2021-21628: Stored XSS vulnerability in Jenkins Build With Parameters Plugin

- Severity: Medium 5.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 79.1%, higher than 99% of CVEs (2026-12-01)
- Published: 2021-03-30T11:10:30.000Z
- Modified: 2026-06-17T03:35:53.907Z
- Also known as: GHSA-xjrg-6fv9-6rjg
- Weaknesses: CWE-79
- Assigned by: jenkins

## 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.

(As written by CVE List.)

## Affected

- Jenkins project Jenkins Build With Parameters Plugin: from unspecified up to 1.5
- org.jenkins-ci.plugins:build-with-parameters (Maven): before 1.5.1
- jenkins build_with_parameters: up to 1.5

## Every score

- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://www.jenkins.io/security/advisory/2021-03-30/#SECURITY-2231> (vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2021/03/30/1> (mailing-list, third-party-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)

## Sources

- CVE List: [CVE-2021-21628](https://www.cve.org/CVERecord?id=CVE-2021-21628), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-xjrg-6fv9-6rjg](https://github.com/advisories/GHSA-xjrg-6fv9-6rjg), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2021-21628](https://nvd.nist.gov/vuln/detail/CVE-2021-21628), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-21628 · Whole record: https://cve.day/CVE-2021-21628.json · Rebuilt by cve.day 2026-11-25T22:58:00.494Z
