CVE-2021-21648
Java vulnerability analysis and mitigation

Overview

Jenkins Credentials Plugin versions 2.3.18 and earlier contain a reflected cross-site scripting (XSS) vulnerability identified as CVE-2021-21648. The vulnerability was discovered when it was found that the plugin does not properly escape user-controlled information on a view it provides (Jenkins Advisory).

Technical details

The vulnerability is classified as High severity and affects the credentials plugin in Jenkins. The core issue stems from the plugin's failure to escape user-controlled information on a specific view, leading to a reflected cross-site scripting vulnerability. This security flaw was tracked as SECURITY-2349 in Jenkins' security tracking system (Jenkins Advisory).

Impact

The vulnerability allows for reflected cross-site scripting (XSS) attacks against Jenkins users. As an XSS vulnerability, it could potentially allow attackers to execute malicious scripts in the context of other users' browsers, potentially leading to session hijacking, credential theft, or other malicious actions (Jenkins Advisory).

Exploitability

The vulnerability is exploitable through user-controlled information in a specific view provided by the Credentials Plugin. No public exploits were documented at the time of disclosure (Jenkins Advisory).

Mitigation and workarounds

The vulnerability was fixed in Credentials Plugin version 2.3.19, which restricts the user-controlled information to a safe subset. Users are advised to upgrade to this version or later to address the security issue. The fix was released as part of the Jenkins Security Advisory on May 11, 2021 (Jenkins Advisory).

Community reactions

The vulnerability was discovered and reported by Wadeck Follonier from CloudBees, Inc., demonstrating ongoing security research within the Jenkins ecosystem (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-2026-76904CRITICAL9.8
  • Java logoJava
  • org.geotools.jdbc:gt-jdbc-postgis
NoYesAug 21, 2026
GHSA-mqjf-5f49-2fjhCRITICAL9.8
  • Java logoJava
  • org.geotools:gt-jdbc-postgis
NoYesAug 21, 2026
CVE-2026-54049HIGH8.7
  • Java logoJava
  • org.sakaiproject.conversations:sakai-conversations-impl
NoNoAug 24, 2026
CVE-2026-63202HIGH7.5
  • Java logoJava
  • io.netty.incubator:netty-incubator-codec-bhttp
NoYesAug 20, 2026
CVE-2026-54050MEDIUM6.5
  • Java logoJava
  • org.sakaiproject.profile2:profile2-api
NoYesAug 24, 2026

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