CVE-2022-34788 Jenkins Matrix Reloaded Plugin vulnerable to Stored XSS

Medium 5.4 Published Updated

Stored XSS in Jenkins Matrix Reloaded Plugin allows attackers with Agent/Configure permission to execute scripts via unescaped agent names.

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-34788?

CVE-2022-34788 is a medium-severity cross-site scripting vulnerability in Jenkins Matrix Reloaded Plugin, published on 30 Jun 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 Matrix Reloaded Plugin 1.1.3 and earlier does not escape the agent name in tooltips, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers with Agent/Configure permission.

Weakness: CWE-79

Which versions are affected by CVE-2022-34788?

2 open source packages ship an affected version, including net.praqma:matrix-reloaded. It affects 1 product.

PackageAffectedFixed in
net.praqma:matrix-reloaded MavenAll versions to 1.1.3None
net.praqma:matrix-reloaded MavenAll versions to 1.1.3None

Products include Jenkins Matrix Reloaded.

How do I fix CVE-2022-34788?

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

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

Sources

Also known as GHSA-2463-7265-h8r4.

Is CVE-2022-34788 in your software?

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

Check your SBOMs for free