CVE-2021-21628
Java vulnerability analysis and mitigation

Overview

CVE-2021-21628 is a stored cross-site scripting (XSS) vulnerability discovered in the Jenkins Build With Parameters Plugin. The vulnerability was disclosed on March 30, 2021, affecting versions 1.5 and earlier of the plugin. The vulnerability stems from the plugin's failure to properly escape parameter names and descriptions (Jenkins Advisory, OSS Security).

Technical details

The vulnerability is classified as a stored XSS vulnerability with a High severity CVSS rating. The security flaw exists because the Build With Parameters Plugin version 1.5 and earlier does not implement proper escaping for parameter names and descriptions. This vulnerability can be exploited by attackers who have Job/Configure permission in the Jenkins environment (Jenkins Advisory).

Impact

The vulnerability allows attackers with Job/Configure permission to execute stored cross-site scripting attacks through unescaped parameter names and descriptions. This could potentially lead to the execution of malicious JavaScript code in the context of other users' browsers who access the affected Jenkins instance (Jenkins Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Build With Parameters Plugin version 1.5.1, which properly escapes parameter names and descriptions. Users are strongly advised to upgrade to this version to mitigate the risk. The fix was released as part of the Jenkins Security Advisory on March 30, 2021 (Jenkins Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66516CRITICAL10
  • JavaJava
  • tika
NoYesDec 04, 2025
CVE-2025-66566HIGH8.2
  • JavaJava
  • org.lz4:lz4-java
NoYesDec 05, 2025
CVE-2025-66623HIGH7.4
  • JavaJava
  • io.strimzi:strimzi
NoYesDec 05, 2025
CVE-2025-11222MEDIUM6.1
  • JavaJava
  • com.linecorp.centraldogma:centraldogma-server-auth-shiro
NoYesDec 04, 2025
CVE-2025-66453MEDIUM5.5
  • JavaJava
  • org.mozilla:rhino
NoYesDec 03, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management