CVE-2018-1999007: Jenkins - Reflected XSS
- Cve: CVE-2018-1999007
- Name: Jenkins - Reflected XSS
- 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.
- Impact: Attackers can execute arbitrary JavaScript in a user's browser, potentially leading to session hijacking or defacement.
- Remediation: Update Jenkins to the latest version where this issue is fixed, or disable Stapler debug mode.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.4
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00894
- Epss percentile: 0.60403
- Assignee: [email protected]
- Published at: 2018-07-23T19:29:00Z
- Age in days: 3046
- Modified at: 2026-06-17T01:48:15Z
- Patch available: yes
- References total: 2
- Products total: 2
- Oss: yes
- Projects total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-1999007
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
References
| Url | Source | Tags |
|---|---|---|
| https://www.oracle.com/security-alerts/cpuapr2022.html | nvd | Patch, Third Party Advisory |
| https://jenkins.io/security/advisory/2018-07-18/#SECURITY-390 | nvd | Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| jenkins:jenkins | >= 2.122, <= 2.132; <= 2.121.1 | no | nvd | /v1/products/jenkins/jenkins |
| oracle:communications_cloud_native_core_automated_test_suite | = 1.9.0 | no | nvd | /v1/products/oracle/communications_cloud_native_core_automated_test_suite |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| jenkinsci/jenkins | package | yes | /v1/repositories/jenkinsci/jenkins |
| jenkinsci/stapler | commit | yes | /v1/repositories/jenkinsci/stapler |
Index
- Repositories: 8
- Repositories high signal: 4
- Packages: 1
Exploitation
- Remote: yes
- Authentication required: yes
- Exposed hosts: 1270874
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports