CVE-2026-42524 Jenkins HTML Publisher Plugin has a XSS vulnerability in the legacy wrapper file

High 8.0 Published Updated

Stored XSS in Jenkins HTML Publisher Plugin allows attackers with Item/Configure permission to execute scripts via job names or URLs.

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-2026-42524?

CVE-2026-42524 is a high-severity cross-site scripting vulnerability in Jenkins HTML Publisher Plugin, published on 29 Apr 2026. 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 HTML Publisher Plugin 427 and earlier does not escape job name and URL in the legacy wrapper file, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers with Item/Configure permission.

Weakness: CWE-79

Which versions are affected by CVE-2026-42524?

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

PackageAffectedFixed in
org.jenkins-ci.plugins:htmlpublisher MavenAll versions427.1
org.jenkins-ci.plugins:htmlpublisher MavenAll versions427.1

Products include Jenkins Html Publisher.

How do I fix CVE-2026-42524?

Upgrade org.jenkins-ci.plugins:htmlpublisher to 427.1 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-2026-42524 being exploited?

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

Sources

Also known as GHSA-f8h4-46xv-h7jj.

Is CVE-2026-42524 in your software?

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

Check your SBOMs for free