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

Medium 5.4 Published Updated

Attackers can inject malicious scripts via report files in Jenkins Android Lint Plugin, leading to stored XSS and potential session hijacking.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2020-2262?

CVE-2020-2262 is a medium-severity cross-site scripting vulnerability in Jenkins Android Lint Plugin, published on 16 Sep 2020. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Jenkins Android Lint Plugin 2.6 and earlier does not escape the annotation message in tooltips, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to provide report files to the plugin's post-build step.

Weakness: CWE-79

Which versions are affected by CVE-2020-2262?

2 open source packages ship an affected version, including org.jvnet.hudson.plugins:android-lint. It affects 1 product.

PackageAffectedFixed in
org.jvnet.hudson.plugins:android-lint MavenAll versions to 2.6None
org.jvnet.hudson.plugins:android-lint MavenAll versions to 2.6None

Products include Jenkins Android Lint.

How do I fix CVE-2020-2262?

No fix has been published for CVE-2020-2262 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2020-2262 being exploited?

There is no known exploitation of CVE-2020-2262 in the wild and no public exploit code.

Sources

Also known as GHSA-28x9-hc4p-9vh2.

Is CVE-2020-2262 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free