{"id":"CVE-2018-1999007","published":"2018-07-23T19:00:00Z","modified":"2024-08-05T12:47:57Z","title":"A cross-site scripting vulnerability exists in Jenkins 2.132 and earlier, 2.121.1 and earlier in the Stapler web…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00894,"percentile":0.60359,"provenance":"source"},"cwes":[],"references":[{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["x_refsource_MISC"]},{"url":"https://jenkins.io/security/advisory/2018-07-18/#SECURITY-390","tags":["x_refsource_CONFIRM"]}],"priority":{"score":12.1,"factors":[{"name":"EPSS percentile","points":12.07}]},"affected":[{"ecosystem":"Maven","package":"org.jenkins-ci.main:jenkins-core","vulnerableRanges":["<2.121.2",">=2.122, <2.132"],"patched":["2.121.2","2.132"],"from":["GHSA-6456-xjm5-g3pg"],"provenance":"source"},{"ecosystem":"Maven","package":"org.kohsuke.stapler:stapler-parent","vulnerableRanges":["<1.250.1"],"patched":["1.250.1"],"from":["GHSA-6456-xjm5-g3pg"],"provenance":"source"}],"summary":{"text":"The flaw is a cross-site scripting vulnerability in the Stapler web framework used by Jenkins (specifically org/kohsuke/stapler/Stapler.java), affecting Jenkins 2.132 and earlier and 2.121.1 and earlier. An attacker who can control the existence of certain URLs in Jenkins can define JavaScript that executes in another user's browser when that user views HTTP 404 error pages while Stapler debug mode is enabled.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:03:24Z"},"euvd":{"id":"EUVD-2022-2708","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-org-jenkins-ci-main-jenkins-core-cve-2018-1999002","parents":[{"from":"CVE-2018-1999002","to":"CVE-2018-1999007","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["core/src/main/java/org/kohsuke/stapler/Stapler.java"],"commits":["https://github.com/jenkinsci/stapler/commit/8e9679b08c36a2f0cf2a81855d5e04e2ed2ac2b3","https://github.com/jenkinsci/stapler/commit/03e221a81e8424709d1fbdf72ab814309dd8e13f"],"basis":"rarely changed file"},{"kind":"similar","provenance":"machine","score":0.72,"basis":"same package + description similarity"}]}],"packageHistory":[{"cve":"CVE-2018-1999007","published":"2018-07-23","fixed":"1.250.1","kev":false},{"cve":"CVE-2018-1000997","published":"2019-01-23","fixed":"1.250.2","kev":false,"link":{"from":"CVE-2018-1999007","to":"CVE-2018-1000997","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.kohsuke.stapler:stapler-parent","fromFixed":"1.250.1","toFixed":"1.250.2","daysApart":184},{"kind":"similar","provenance":"machine","score":0.49,"basis":"same package + description similarity"}]}},{"cve":"CVE-2019-10354","published":"2019-07-17","fixed":"1.257.1","kev":false}],"package":"Maven:org.kohsuke.stapler:stapler-parent"}}