CVE-2026-42524 Jenkins HTML Publisher Plugin has a XSS vulnerability in the legacy wrapper file
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.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:htmlpublisher Maven | All versions | 427.1 |
org.jenkins-ci.plugins:htmlpublisher Maven | All versions | 427.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.
Other vulnerabilities in Jenkins HTML Publisher Plugin
- CVE-2024-28149 Jenkins HTML Publisher Plugin does not properly sanitize input
- CVE-2018-1000175 Jenkins HTML Publisher Plugin path traversal vulnerability
- CVE-2025-53651 Jenkins HTML Publisher Plugin vulnerability displays controller file system information in its logs
- CVE-2019-10432 Jenkins HTML Publisher Plugin vulnerable to Cross-site Scripting
- CVE-2024-28150 Jenkins HTML Publisher Plugin Stored XSS vulnerability
Sources
Also known as GHSA-f8h4-46xv-h7jj.