CVE-2021-21659: XXE vulnerability in Jenkins URLTrigger Plugin

Summary

24/05/2022
Yes i
High
8.1

CVE-2021-21659: XXE vulnerability in Jenkins URLTrigger Plugin. Affects org.jenkins-ci.plugins:urltrigger versions < 0.49. Fixed in 0.49. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Jenkins URLTrigger Plugin is a Maven package that allows users to trigger Jenkins jobs based on changes to the content of an URL. It provides functionality for monitoring XML documents and initiating job builds when specific changes occur. The plugin is widely used in Jenkins environments for automating build and deployment processes.

Vulnerability Detail

The URLTrigger Plugin version 0.48 and earlier is vulnerable to an XML External Entity (XXE) attack. The plugin does not properly configure its XML parser, enabling attackers with Job/Configure permission or control over the contents of a URL to exploit the vulnerability. By crafting a malicious XML document, an attacker can extract sensitive information, perform server-side request forgery, or launch denial-of-service attacks against the Jenkins controller or agent. The vulnerability has a CVSS score of 7.1, indicating a high severity level.

How To Fix

Latest published version: 1.06 as of 23 Oct 2026

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.49

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. However, users can consider temporarily disabling or removing the URLTrigger Plugin if it is not essential for their Jenkins environment until the plugin can be updated to the fixed version.

Conclusion

The XXE vulnerability in the Jenkins URLTrigger Plugin (CVE-2021-21659) poses a significant risk to Jenkins environments. It allows attackers to exploit the plugin's XML parser and potentially extract sensitive information, perform server-side request forgery, or launch denial-of-service attacks. To mitigate this vulnerability, it is crucial to update the URLTrigger Plugin to version 0.49 or later. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.jenkins-ci.plugins:urltrigger →

Share this vulnerability

FAQ

An XML External Entity (XXE) vulnerability is a type of attack that exploits the processing of XML input by an application. It allows an attacker to include external entities or files, leading to various security risks such as information disclosure, server-side request forgery, or denial-of-service attacks.

The XXE vulnerability in the URLTrigger Plugin can enable an attacker to extract sensitive information from the Jenkins controller or agent, perform server-side request forgery to access internal resources, or launch denial-of-service attacks that disrupt the Jenkins environment.

Users of Jenkins who have installed and are using the URLTrigger Plugin version 0.48 or earlier are affected by this vulnerability. Specifically, attackers with Job/Configure permission or control over the contents of a URL being examined for changes can exploit the vulnerability.

Yes, the vulnerability can be fixed by updating the URLTrigger Plugin to version 0.49 or later. The updated version disables external entity resolution for its XML parser, effectively mitigating the XXE vulnerability.

To update the URLTrigger Plugin in Jenkins, follow these steps:

  1. Log in to your Jenkins instance as an administrator.
  2. Go to the 'Manage Jenkins' page.
  3. Click on 'Manage Plugins'.
  4. In the 'Available' tab, search for 'URLTrigger Plugin'.
  5. Check the box next to the plugin and click 'Install without restart'.
  6. Once the installation is complete, restart Jenkins to apply the changes.

Related vulnerabilities

Recent vulnerabilities recorded for org.jenkins-ci.plugins:urltrigger.

How To Fix

Latest published version: 1.06 as of 23 Oct 2026

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.49

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback