CVE-2018-1999007 json
Cross-site scripting vulnerability exists in Jenkins and Stapler Plugin
published 8y ago modified 4mo ago also GHSA-6456-xjm5-g3pg , EUVD-2022-2708
- cvss
- 5.4
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 59%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.jenkins-ci.main:jenkins-core 2.121.2, 2.132
- maven org.kohsuke.stapler:stapler-parent 1.250.1
- jenkins Arch Linux 2.133-1
arch linux advisories AVG-738
Is CVE-2018-1999007 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-1999007 updated cvss 4.7
jenkins: HTTP 404 error pages do not escape URLs when Stapler framework used in debug mode, allowing for XSS
-
Red Hat OpenShift Enterprise 3 jenkinsaffected: no fix available
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.89% chance of exploitation in the next 30 days, higher than 59% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
| GitHub | 3.0 | 5.4 | CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.jenkins-ci.main:jenkins-core | <2.121.2 >=2.122, <2.132 |
2.121.2 2.132 |
| maven | org.kohsuke.stapler:stapler-parent | <1.250.1 |
1.250.1 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
- Technology feeds
References
-
oracle.com
/security-alerts/cpuapr2022.html
web, patch, third-party-advisory
-
github.com
/jenkinsci/stapler/commit/03e221a81e8424709d1fbdf72ab814309dd8e13f
web
-
jenkins.io
/security/advisory/2018-07-18/#SECURITY-390
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2018-1999007
advisory
-
github.com
/jenkinsci/jenkins
package
Sources
- CVE List CVE-2018-1999007
- GitHub Advisory GHSA-6456-xjm5-g3pg
- NVD CVE-2018-1999007
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.