CVE-2019-16562 Jenkins buildgraph-view Plugin vulnerable to stored Cross-site Scripting

Medium 5.4 Published Updated

Stored XSS in Jenkins buildgraph-view Plugin allows attackers to execute scripts via unescaped build descriptions, potentially compromising user sessions.

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-2019-16562?

CVE-2019-16562 is a medium-severity cross-site scripting vulnerability in Jenkins buildgraph-view Plugin, published on 17 Dec 2019. 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 buildgraph-view Plugin 1.8 and earlier does not escape the description of builds shown in its view, resulting in a stored XSS vulnerability exploitable by users able to change build descriptions.

Weakness: CWE-79

Which versions are affected by CVE-2019-16562?

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

PackageAffectedFixed in
org.jenkins-ci.plugins:buildgraph-view MavenAll versions to 1.8None
org.jenkins-ci.plugins:buildgraph-view MavenAll versions to 1.8None

Products include Jenkins Buildgraph-View.

How do I fix CVE-2019-16562?

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

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

Sources

Also known as GHSA-4j4g-fp93-qvrw.

Is CVE-2019-16562 in your software?

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

Check your SBOMs for free