CVE-2023-4303 HTML injection vulnerability in Fortify Plugin

Medium 4.3 Published Updated

An attacker can inject malicious HTML into Jenkins Fortify Plugin error messages, potentially leading to script execution or session hijacking.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-4303?

CVE-2023-4303 is a medium-severity cross-site scripting vulnerability in Jenkins Fortify Plugin, published on 21 Aug 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Jenkins Fortify Plugin 22.1.38 and earlier does not escape the error message for a form validation method, resulting in an HTML injection vulnerability.

Weakness: CWE-79

Which versions are affected by CVE-2023-4303?

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

PackageAffectedFixed in
org.jenkins-ci.plugins:fortify MavenAll versions22.2.39
org.jenkins-ci.plugins:fortify MavenAll versions22.2.39

Products include Jenkins Fortify.

How do I fix CVE-2023-4303?

Upgrade org.jenkins-ci.plugins:fortify to 22.2.39 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-2023-4303 being exploited?

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

Sources

Also known as GHSA-223m-pgcq-f3xg.

Is CVE-2023-4303 in your software?

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

Check your SBOMs for free