GitHub Advisoryadvisory · Maven
GHSA-6456-xjm5-g3pg Cross-site scripting vulnerability exists in Jenkins and Stapler Plugin
MEDIUM
Official page ↗
- Aliases
- CVE-2018-1999007
- Ecosystem
- Maven
- Packages
- org.jenkins-ci.main:jenkins-core, org.kohsuke.stapler:stapler-parent
- Severity
- Moderate
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2022-06-28
Affected packages
• Maven org.jenkins-ci.main:jenkins-core: < 2.121.2 → fixed in 2.121.2
• Maven org.jenkins-ci.main:jenkins-core: >= 2.122, < 2.132 → fixed in 2.132
• Maven org.kohsuke.stapler:stapler-parent: < 1.250.1 → fixed in 1.250.1
Description
A cross-site scripting vulnerability exists in Jenkins 2.132 and earlier, 2.121.1 and earlier in the Stapler web framework's org/kohsuke/stapler/Stapler.java that allows attackers with the ability to control the existence of some URLs in Jenkins to define JavaScript that would be executed in another user's browser when that other user views HTTP 404 error pages while Stapler debug mode is enabled.
Related
Alias · CVE (1)
- CVE-2018-1999007 A cross-site scripting vulnerability exists in Jenkins 2.132 and earlier, 2.121.1 and earlier in the Stapler web framework's… vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-1999007 advisory
- https://github.com/jenkinsci/stapler/commit/03e221a81e8424709d1fbdf72ab814309dd8e13f web
- https://github.com/jenkinsci/jenkins package
- https://jenkins.io/security/advisory/2018-07-18/#SECURITY-390 web
- https://www.oracle.com/security-alerts/cpuapr2022.html web