Skip to content
Vulnerability Intelligence

CVE-2021-21628

Medium

Stored 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
ProductAffected versionsFixed in
Build With ParametersJenkinsSee advisory1.5
org.jenkins-ci.plugins:build-with-parametersmavenSee advisory1.5.1
Jenkins Build With Parameters Plugin>= unspecifiedn/a

Patched Releases

Build With Parameters

<=1.5

org.jenkins-ci.plugins:build-with-parameters

1.5.1

Timeline

  1. Publicly disclosed

    May 24, 2022

  2. Last updated

    Jul 9, 2026

Weakness Type

  • CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

References

1 more references in the full CVE brief

FAQ

Common Questions.

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