CVE-2019-10406: Improper Neutralization of Input During Web Page Generation in Jenkins

Summary

24/05/2022
Yes i
Moderate
4.8

CVE-2019-10406: Improper Neutralization of Input During Web Page Generation in Jenkins. Affects org.jenkins-ci.main:jenkins-core across 2 version ranges.

< 2.176.4 >= 2.177, < 2.197

Fixed in 2.176.4 or 2.197, depending on the release line you run. 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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Jenkins is an open-source automation server that enables developers to build, test, and deploy their software projects. It provides a wide range of features and plugins to support continuous integration and delivery. The vulnerable package in focus is 'org.jenkins-ci.main:jenkins-core'.

Vulnerability Detail

The vulnerability identified as CVE-2019-10406 affects Jenkins versions 2.196 and earlier, as well as LTS versions 2.176.3 and earlier. It stems from the lack of restrictions or filtering on values set as the Jenkins URL in the global configuration. This oversight leads to a stored cross-site scripting (XSS) vulnerability that can be exploited by attackers with Overall/Administer permission. This vulnerability is classified as CWE-79 and has a CVSSv3 score of 4.8.

How To Fix

Latest published version: 2.587 as of 22 Oct 2026

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

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 2.176.4 2.176.4
  • >= 2.177, < 2.197 2.197

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

As a temporary workaround, users can manually sanitize the Jenkins URL by ensuring it does not contain any malicious scripts or code. This can be done by carefully reviewing and validating the URL before saving it in the global configuration. However, this workaround is not recommended as it relies on manual intervention and may not provide complete protection against XSS attacks.

Conclusion

The CVE-2019-10406 vulnerability in Jenkins exposes a stored XSS risk due to improper neutralization of input during web page generation. Upgrading to the recommended versions and staying up to date with security patches is crucial to mitigate this vulnerability. It is also advisable to regularly check for vulnerabilities using tools like Vulert's playground. For further assistance or information on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for org.jenkins-ci.main:jenkins-core →

Share this vulnerability

FAQ

The vulnerability allows attackers with Overall/Administer permission to inject malicious scripts or code into Jenkins web pages. This can lead to various consequences, such as unauthorized access, data theft, or further exploitation of the compromised system.

No, this vulnerability requires attackers to have Overall/Administer permission in Jenkins. However, if an attacker gains such privileges, they can exploit the vulnerability remotely.

There have been no known instances of this vulnerability being exploited in the wild. However, it is essential to apply the recommended fixes and stay vigilant to prevent potential attacks.

You can use Vulert's playground (https://vulert.com/scanner) to check if your Jenkins installation is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, using just the pom.xml file without requiring access to the code or installation.

For more information about this vulnerability, you can refer to the CVE-2019-10406 entry or reach out to info@devnack.com for further support on vulnerability remediation.

Related vulnerabilities

Recent vulnerabilities recorded for org.jenkins-ci.main:jenkins-core.

How To Fix

Latest published version: 2.587 as of 22 Oct 2026

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

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 2.176.4 2.176.4
  • >= 2.177, < 2.197 2.197

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. 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