CVE-2019-10396: Jenkins Dashboard View Plugin Cross-site Scripting Vulnerability

Summary

24/05/2022
Yes i
Moderate
5.4

CVE-2019-10396: Jenkins Dashboard View Plugin vulnerable to Cross-site Scripting. Affects org.jenkins-ci.plugins:dashboard-view versions < 2.12. Fixed in 2.12. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Jenkins Dashboard View Plugin is a plugin for the Jenkins automation server that provides a customizable dashboard view for monitoring the latest builds. It allows users to view the build descriptions and other relevant information in a visually appealing manner. However, the plugin is vulnerable to a cross-site scripting (XSS) attack.

Vulnerability Detail

The Dashboard View Plugin did not properly escape the build description on the Latest Builds View, making it susceptible to a cross-site scripting vulnerability. Attackers who can control the description of builds shown on that view can exploit this vulnerability. By injecting malicious scripts into the build description, an attacker can execute arbitrary code in the context of the user's browser, potentially leading to unauthorized access, data theft, or other malicious activities.

How To Fix

Minimum fixed version

2.12

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

If updating the plugin is not immediately feasible, a temporary workaround is to disable the Latest Builds View or restrict access to it. By removing the ability for users to view the build descriptions on the vulnerable view, the risk of exploitation can be reduced. However, this is only a temporary solution, and updating the plugin should be prioritized.

Conclusion

The Jenkins Dashboard View Plugin is vulnerable to a cross-site scripting (XSS) attack due to improper escaping of the build description. To mitigate this vulnerability, it is recommended to update the plugin to version 2.12 or later. If immediate updating is not feasible, a temporary workaround is to disable or restrict access to the vulnerable view. For further support on vulnerability remediation, please contact DevNack.com.

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

Share this vulnerability

FAQ

Cross-site scripting (XSS) is a type of security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users. This can lead to various attacks, such as session hijacking, data theft, or defacement of websites.

An attacker who can control the build description on the Latest Builds View can inject malicious scripts into it. When other users view the vulnerable view, these scripts will be executed in their browsers, allowing the attacker to perform actions on their behalf.

Exploiting this vulnerability can lead to unauthorized access to sensitive information, data theft, or the execution of arbitrary code in the context of the user's browser. This can result in further compromise of the Jenkins server or the user's system.

Yes, updating the Dashboard View Plugin to version 2.12 or later will fix this vulnerability. The updated version properly escapes the build description, mitigating the risk of cross-site scripting attacks.

A temporary workaround is to disable the Latest Builds View or restrict access to it. By removing the ability for users to view the build descriptions on the vulnerable view, the risk of exploitation can be reduced. However, updating the plugin should be prioritized.

Related vulnerabilities

Recent vulnerabilities recorded for org.jenkins-ci.plugins:dashboard-view.

How To Fix

Minimum fixed version

2.12

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