CVE-2021-21657
Java vulnerability analysis and mitigation

Overview

CVE-2021-21657 (SECURITY-2339) is an XML External Entity (XXE) vulnerability discovered in the Jenkins Filesystem Trigger Plugin. The vulnerability was disclosed on May 25, 2021, affecting versions 0.40 and earlier of the plugin. This security issue was identified in the plugin's XML parser configuration, which lacked proper protection against XXE attacks (Jenkins Advisory).

Technical details

The vulnerability stems from an improperly configured XML parser in the Filesystem Trigger Plugin that does not prevent XML external entity (XXE) attacks. The severity is rated as High according to the CVSS scoring system. The technical issue specifically relates to the plugin's XML parsing functionality when polling for file changes (Jenkins Advisory).

Impact

The vulnerability allows attackers with Job/Configure permission or those able to control the contents of an XML file being polled for changes to execute various malicious actions. These include extraction of secrets from the polling Jenkins controller or agent, server-side request forgery (SSRF), and denial-of-service attacks through crafted XML documents that use external entities (Jenkins Advisory).

Exploitability

The vulnerability is exploitable by attackers who have Job/Configure permission in Jenkins or can control the contents of XML files that are being monitored for changes by the Filesystem Trigger Plugin. The attacker would need to craft a specific XML document that leverages external entities to execute the attack (Jenkins Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Filesystem Trigger Plugin version 0.41, which disables external entity resolution for its XML parser. Users are strongly advised to update to this version to mitigate the vulnerability. All versions up to and including 0.40 are considered vulnerable (Jenkins Advisory).

Community reactions

The vulnerability was discovered and reported by security researcher Kevin Guerroudj, who also identified similar XXE vulnerabilities in other Jenkins plugins during the same period (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-73493HIGH7.5
  • Java logoJava
  • org.http4s:http4s-blaze-server_2.12
NoYesAug 12, 2026
CVE-2026-48048HIGH7.5
  • Java logoJava
  • org.xwiki.platform:xwiki-platform-livetable-ui
NoYesAug 10, 2026
CVE-2026-73495HIGH7.4
  • Java logoJava
  • org.http4s:blaze-http_2.12
NoYesAug 12, 2026
CVE-2026-48047MEDIUM5.9
  • Java logoJava
  • org.xwiki.platform:xwiki-platform-webjars-api
NoYesAug 07, 2026
CVE-2026-48791LOW2
  • Java logoJava
  • dev.sigstore:sigstore-java
NoYesAug 13, 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