CVE-2026-42523: Github Cross-Site Scripting Vulnerability
CRITICALCVE-2026-42523 is a CRITICAL (CVSS 9.0) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Github libraries in the Maven ecosystem. The issue involves jenkins github plugin has an xss vulnerability. Remediation is available by upgrading affected packages to version 1.46.0.1.
CVE-2026-42523 at a Glance
Security Impact
CVSS: 9.0
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H).
How to Fix CVE-2026-42523
To remediate this vulnerability, upgrade all affected Github dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>com.coravy.hudson.plugins.github</groupId>
<artifactId>github</artifactId>
<version>1.46.0.1</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=com.coravy.hudson.plugins.github
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2026-42523, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=com.coravy.hudson.plugins.github
Analyze the terminal output to locate any version of Github in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.46.0.1), your application is affected.
Note: The mvn dependency:tree -Dincludes=com.coravy.hudson.plugins.github command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Github, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-42523 Affected Github Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
com.coravy.hudson.plugins.github:github
|
Maven |
< 1.46.0.1
|
1.46.0.1
|
References
Frequently Asked Questions
What is CVE-2026-42523?
Which Github versions are affected?
What version fixes CVE-2026-42523?
Is github affected?
What is the CVSS score of CVE-2026-42523?
What CWE is associated with CVE-2026-42523?
How can I check Maven dependencies for CVE-2026-42523?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-w22p-4x9f-486v",
"modified" : "2026-08-14T19:48:08Z",
"published" : "2026-04-29T15:30:38Z",
"aliases" : [ "CVE-2026-42523" ],
"summary" : "Jenkins GitHub Plugin has an XSS vulnerability",
"details" : "In Jenkins GitHub Plugin versions 1.46.0 and earlier, the JavaScript that validates the \"GitHub hook trigger for GITScm polling\" feature improperly processes the current job URL.\n\nThis results in a stored cross-site scripting (XSS) vulnerability exploitable by non-anonymous attackers with Overall/Read permission.\n\nGitHub Plugin 1.46.0.1 no longer processes the current job URL as part of JavaScript implementing validation of the feature \"GitHub hook trigger for GITScm polling\".",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "com.coravy.hudson.plugins.github:github"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.46.0.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-42523"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/jenkinsci/github-plugin"
}, {
"type" : "WEB",
"url" : "https://www.jenkins.io/security/advisory/2026-04-29/#SECURITY-3704"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-06T22:50:26Z",
"nvd_published_at" : "2026-04-29T14:16:19Z"
}
}