CVE-2022-30970: Cross-site Scripting in Jenkins Autocomplete Parameter Plugin

Summary

18/05/2022
No i
High
8.0

CVE-2022-30970: Cross-site Scripting in Jenkins Autocomplete Parameter Plugin. Affects org.jenkins-ci.plugins:autocomplete-parameter versions < 1.1. No fix is published. 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 Autocomplete Parameter Plugin is a Maven package (org.jenkins-ci.plugins:autocomplete-parameter) that provides functionality for dropdown autocomplete parameters and auto-complete string parameters in Jenkins. These parameters allow users to select or input values from a predefined list. However, versions 1.1 and earlier of the plugin contain a vulnerability that allows for cross-site scripting (XSS) attacks. This vulnerability arises from unsafe handling of parameter names in view definitions, which can be exploited by attackers with Item/Configure permission.

Vulnerability Detail

The vulnerability in the Jenkins Autocomplete Parameter Plugin allows for stored cross-site scripting (XSS) attacks. By embedding malicious JavaScript code in view definitions, an attacker can execute arbitrary code in the context of a user's browser. This vulnerability is independent of other attempts to prevent XSS vulnerabilities in parameter names and can be exploited even on views that implement such measures. The impact of this vulnerability is significant, as it allows an attacker to potentially steal sensitive information, perform actions on behalf of the user, or manipulate the user interface.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to update the plugin to a non-vulnerable version as soon as possible.

Conclusion

The Jenkins Autocomplete Parameter Plugin versions 1.1 and earlier are vulnerable to a stored cross-site scripting (XSS) attack. It is crucial to update to version 1.2 or later to mitigate this vulnerability. Additionally, review and update the security permissions of users with Item/Configure permission to minimize the risk of exploitation. For further support on vulnerability remediation, please contact DevNack.com.

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

Share this vulnerability

FAQ

The vulnerability allows for stored cross-site scripting (XSS) attacks, which can lead to unauthorized access, data theft, and manipulation of the user interface.

Attackers with Item/Configure permission in Jenkins can exploit this vulnerability.

The only effective mitigation is to update the Jenkins Autocomplete Parameter Plugin to a non-vulnerable version.

There is no known instance of this vulnerability being exploited in the wild.

No, this vulnerability requires attackers to have Item/Configure permission in Jenkins.

Related vulnerabilities

Recent vulnerabilities recorded for org.jenkins-ci.plugins:autocomplete-parameter.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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