CVE-2022-36905 Stored XSS vulnerability in Jenkins Maven Metadata Plugin for Jenkins CI server plugin

Medium 5.4 Published Updated

Stored XSS in Jenkins Maven Metadata Plugin allows attackers with configure permissions to execute scripts via malicious repository URLs.

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-2022-36905?

CVE-2022-36905 is a medium-severity cross-site scripting vulnerability in Jenkins Maven Metadata Plugin for Jenkins CI server Plugin, published on 27 Jul 2022. 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 Maven Metadata Plugin for Jenkins CI server Plugin 2.2 and earlier does not perform URL validation for the Repository Base URL of List maven artifact versions parameters, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers with Item/Configure permission.

Weakness: CWE-79

Which versions are affected by CVE-2022-36905?

2 open source packages ship an affected version, including eu.markov.jenkins.plugin.mvnmeta:maven-metadata-plugin. It affects 1 product.

PackageAffectedFixed in
eu.markov.jenkins.plugin.mvnmeta:maven-metadata-plugin MavenAll versions to 2.2None
eu.markov.jenkins.plugin.mvnmeta:maven-metadata-plugin MavenAll versions to 2.2None

Products include Jenkins Maven Metadata.

How do I fix CVE-2022-36905?

No fix has been published for CVE-2022-36905 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-2022-36905 being exploited?

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

Sources

Also known as GHSA-8294-mv9c-7m5h.

Is CVE-2022-36905 in your software?

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

Check your SBOMs for free