CVE-2022-30956 Cross-site Scripting in Jenkins Rundeck Plugin

Medium 5.4 Published Updated

Attackers can inject malicious scripts via crafted Rundeck webhook payloads, potentially compromising user sessions or executing code in Jenkins.

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
Available

What is CVE-2022-30956?

CVE-2022-30956 is a medium-severity cross-site scripting vulnerability in Jenkins Rundeck Plugin, published on 17 May 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 Rundeck Plugin 3.6.10 and earlier does not restrict URL schemes in Rundeck webhook submissions, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to submit crafted Rundeck webhook payloads.

Weakness: CWE-79

Which versions are affected by CVE-2022-30956?

2 open source packages ship an affected version, including org.jenkins-ci.plugins:rundeck. It affects 1 product.

PackageAffectedFixed in
org.jenkins-ci.plugins:rundeck MavenAll versions3.6.11
org.jenkins-ci.plugins:rundeck MavenAll versions3.6.11

Products include Jenkins Rundeck.

How do I fix CVE-2022-30956?

Upgrade org.jenkins-ci.plugins:rundeck to 3.6.11 or later.

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-30956 being exploited?

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

Sources

Also known as GHSA-4m42-8qfq-h3q9.

Is CVE-2022-30956 in your software?

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

Check your SBOMs for free