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

Summary

24/05/2022
Yes i
Moderate
5.4

CVE-2019-10401: 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Jenkins is an open-source automation server that enables developers to build, test, and deploy their software projects. It is widely used for continuous integration and delivery. The vulnerable package, org.jenkins-ci.main:jenkins-core, is a core component of Jenkins responsible for its fundamental functionality.

Vulnerability Detail

The f:expandableTextBox form control in Jenkins versions 2.196 and earlier, LTS 2.176.3 and earlier, had a stored cross-site scripting (XSS) vulnerability. When the form control was expanded, it interpreted its content as HTML, allowing users with permission to define its contents (typically Job/Configure) to inject malicious scripts. This vulnerability could be exploited to execute arbitrary code in the context of other users, potentially leading to unauthorized access, data theft, or further compromise of the Jenkins server.

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

If upgrading immediately is not feasible, a temporary workaround is to restrict access to the f:expandableTextBox form control. This can be achieved by limiting the permission to define its contents only to trusted users or administrators. Additionally, input validation and sanitization should be implemented to prevent the execution of malicious scripts.

Conclusion

In conclusion, the Jenkins vulnerability CVE-2019-10401 allows for stored cross-site scripting (XSS) attacks, potentially leading to unauthorized access and data theft. It is crucial to upgrade Jenkins to the recommended versions or apply the provided workaround to mitigate the risk. For further assistance with vulnerability remediation, please contact DevNack.com.

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

Share this vulnerability

FAQ

Jenkins is an open-source automation server used for continuous integration and delivery. It helps developers automate the building, testing, and deployment of their software projects.

The vulnerability allows users with permission to define the contents of the f:expandableTextBox form control to inject malicious scripts. This can lead to unauthorized access, data theft, or further compromise of the Jenkins server.

To fix this vulnerability, it is recommended to upgrade Jenkins to LTS 2.176.4 or later, or Jenkins 2.197 or later. Keeping Jenkins and its plugins up to date is crucial for maintaining a secure automation server.

A temporary workaround is to restrict access to the f:expandableTextBox form control by limiting the permission to define its contents only to trusted users or administrators. Input validation and sanitization should also be implemented to prevent the execution of malicious scripts.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your Jenkins installation is affected by this vulnerability. Simply provide your pom.xml file, and Vulert will analyze it in real-time to identify any open-source vulnerabilities.

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