CVE-2026-42523

Stored XSS via Improper Job URL Handling in Jenkins GitHub Plugin

Published Apr 29, 2026 CVSS 3.1 · 9 Critical EPSS < 1% KEV · Not listed
Description
Jenkins GitHub Plugin 1.46.0 and earlier improperly processes the current job URL as part of JavaScript implementing validation of the feature "GitHub hook trigger for GITScm polling", resulting in a stored cross-site scripting (XSS) vulnerability exploitable by non-anonymous attackers with Overall/Read permission.

Analysis

AI-generated

Technical impact

The Jenkins GitHub Plugin up to version 1.46.0 improperly includes the current job URL in a JavaScript validation routine for the GitHub hook trigger feature. This flaw allows a non‑anonymous attacker who has Overall or Read permissions to persist malicious script code in the job configuration, which will then be executed in the browser context of any user who views that job. The result is a classic stored XSS vulnerability that can lead to credential theft, session hijacking, or arbitrary data exfiltration

Affected Systems

All installations of Jenkins using the Jenkins GitHub Plugin v1.46.0 or older are affected. This includes environments where the plugin has been deployed without upgrading to the latest releases

Risk and Exploitability

The vulnerability is exploitable only by users who can trigger a GitHub hook and have read access to the job. Attackers can craft a payload that is ingested when the trigger is processed, which will be served to any viewer of the job page. The CVSS score is 9, indicating high severity. EPSS score is unavailable, but the absence of a KEV listing does not mitigate the high risk associated with stored XSS. The attack vector is inferred to be a legitimate feature misuse rather than external network access. The potential impact includes compromise of user sessions and defacement of job listings.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Jenkins GitHub Plugin to the latest available stable release from the official repository
  • If an upgrade cannot be performed, disable the "GitHub hook trigger for GITScm polling" feature for all jobs
  • Add strict Content‑Security‑Policy headers to restrict execution of inline scripts and mitigate stored XSS

Generated by OpenCVE AI on April 30, 2026 at 03:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-w22p-4x9f-486v Jenkins GitHub Plugin has an XSS vulnerability
History
Type Values Removed Values Added
First Time appeared Jenkins
Jenkins github
CPEs cpe:2.3:a:jenkins:github:*:*:*:*:*:jenkins:*:*
Vendors & Products Jenkins
Jenkins github
Type Values Removed Values Added
First Time appeared Jenkins Project
Jenkins Project jenkins Github Plugin
Vendors & Products Jenkins Project
Jenkins Project jenkins Github Plugin
Type Values Removed Values Added
Title Stored XSS via Improper Job URL Handling in Jenkins GitHub Plugin
Type Values Removed Values Added
Weaknesses CWE-79
Metrics cvssV3_1

{'score': 9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Jenkins GitHub Plugin 1.46.0 and earlier improperly processes the current job URL as part of JavaScript implementing validation of the feature "GitHub hook trigger for GITScm polling", resulting in a stored cross-site scripting (XSS) vulnerability exploitable by non-anonymous attackers with Overall/Read permission.
References
Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
jenkins
Published
Updated
Apr 29, 2026, 2:29 PM
Reserved
Apr 28, 2026, 9:24 AM
Status
Analyzed
Published
Apr 29, 2026, 2:16 PM
Modified
Oct 26, 2026, 8:10 PM