CVE-2020-2262: Stored XSS vulnerability in android-lint Plugin

Summary

24/05/2022
No i
High
8.0

CVE-2020-2262: Stored XSS vulnerability in android-lint Plugin. Affects org.jvnet.hudson.plugins:android-lint versions < 2.6. 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 android-lint plugin is a Maven package that is used in Jenkins to perform static analysis of Android projects. It provides a set of rules to detect potential issues in Android code. The plugin integrates with the Jenkins build process and generates reports based on the analysis. However, versions 2.6 and earlier of the plugin are vulnerable to a stored cross-site scripting (XSS) attack.

Vulnerability Detail

The vulnerability in the android-lint plugin arises from the lack of proper escaping of the annotation message in tooltips. This allows an attacker who can provide report files to the plugin's post-build step to inject malicious code that will be executed when the tooltip is displayed. The impact of this vulnerability is that an attacker can execute arbitrary JavaScript code in the context of the user's browser, potentially leading to unauthorized access, data theft, or other malicious activities.

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 recommended to apply the fix provided by the plugin maintainers.

Conclusion

The android-lint plugin versions 2.6 and earlier are vulnerable to a stored XSS attack. This allows an attacker to execute arbitrary JavaScript code in the user's browser, potentially leading to unauthorized access, data theft, or other malicious activities. To mitigate this risk, it is recommended to upgrade to the latest version of the plugin (2.7) and keep all software components up to date. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for org.jvnet.hudson.plugins:android-lint →

Share this vulnerability

FAQ

The vulnerability allows an attacker to execute arbitrary JavaScript code in the context of the user's browser, potentially leading to unauthorized access, data theft, or other malicious activities.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Simply provide your pom.xml file and the playground will analyze it for open-source vulnerabilities, including this one.

Yes, the latest version of the android-lint plugin (2.7) includes a fix for this vulnerability. It is recommended to update your Jenkins installation and ensure that the updated plugin is installed.

There are no known workarounds for this vulnerability. It is recommended to apply the fix provided by the plugin maintainers.

To keep your software secure from known vulnerabilities, it is important to regularly update all software components, including plugins, to the latest versions. Additionally, you can use tools like Vulert to monitor and alert you in real-time for open-source vulnerabilities in your software.

Related vulnerabilities

Recent vulnerabilities recorded for org.jvnet.hudson.plugins:android-lint.

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