CVE-2019-10374 Jenkins PegDown Formatter Plugin has Cross-site Scripting vulnerability

Medium 5.4 Published Updated

Attackers can inject JavaScript into Jenkins UI via stored XSS in the PegDown Formatter Plugin, potentially leading to session hijacking or code execution.

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

CVE-2019-10374 is a medium-severity cross-site scripting vulnerability in Jenkins PegDown Formatter Plugin, published on 7 Aug 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

A stored cross-site scripting vulnerability in Jenkins PegDown Formatter Plugin 1.3 and earlier allows attackers able to edit descriptions and other fields rendered using the configured markup formatter to insert links with the javascript scheme into the Jenkins UI.

Weakness: CWE-79

Which versions are affected by CVE-2019-10374?

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

PackageAffectedFixed in
org.jenkins-ci.plugins:pegdown-formatter MavenAll versions to 1.3None
org.jenkins-ci.plugins:pegdown-formatter MavenAll versions to 1.3None

Products include Jenkins Pegdown Formatter.

How do I fix CVE-2019-10374?

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

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

Sources

Also known as GHSA-922h-x9qv-2274.

Is CVE-2019-10374 in your software?

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

Check your SBOMs for free