Html PublisherApplication · Jenkins

CVE-2026-42524

HIGH · 8.0 CVSS v3.1 Published 2026-04-29
Fix available
A fix is available. Upgrade to after 427 or later.
See remediation →
84/100
Remediation priority · High
Remotely reachable

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

Jenkins HTML Publisher Plugin versions 427 and earlier fails to properly escape job names and URLs when generating legacy wrapper files, allowing stored XSS injection. Attackers with Item/Configure permission can inject malicious scripts into job configuration that execute when users view the HTML reports.

MitigationUpgrade Jenkins HTML Publisher Plugin to version 428 or later which includes proper output encoding for job names and URLs in legacy wrapper files.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Html PublisherApplication
Affected:<= 427

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Check HTML Publisher Plugin version
    Navigate to Manage Jenkins > Manage Plugins > Installed tab, locate 'HTML Publisher' plugin, and note the version number displayed
    Affected if The version is 427 or earlier (e.g., 427.v1a_7f4a_7e5b_9c, 426.v5f0b_8b_5c_8a_8)
  2. Identify jobs using HTML Publisher reports
    Review Jenkins job configurations: for each job, go to Configure > Post-build Actions > Publish HTML reports, and check if any HTML report publishing is configured
    Affected if Any job is configured with HTML Publisher reports (the report generation creates the vulnerable wrapper files)
  3. Locate generated HTML wrapper files
    On the Jenkins controller, navigate to the job's build directory (typically $JENKINS_HOME/jobs/<jobname>/builds/<buildnumber>/htmlreports/) and locate the HTML files generated by the plugin
    Affected if Legacy wrapper HTML files exist in the build directory - these are the files where unsanitized job names/URLs are written
  4. Inspect wrapper file source for unsanitized input
    Open one of the generated HTML files in a text editor and examine the content for job name or URL values - look for unescaped characters like <, >, ", or ' appearing within HTML attributes or text
    Affected if The HTML file contains raw job name or URL strings that are not HTML-encoded (e.g., <script> tags present in what should be escaped content)

You are affected if HTML Publisher Plugin version is 427 or earlier AND jobs are configured to publish HTML reports that generate wrapper files with unsanitized job names or URLs.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

From vendor data
Upgrade available Upgrade to a release after 427
Interim mitigation

Upgrade Jenkins HTML Publisher Plugin to version 428 or later which includes proper output encoding for job names and URLs in legacy wrapper files.

Fix this in Html Publisher Scoped from the published advisory
  • Consultation1.0 h
  • Implementation1.0 h
  • Testing2.0 h
  • Review / QA1.0 h
5.0 hours of engineering $860
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $1,376.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-42524 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-42524 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data