Skip to content
OpenAdvisories
Medium · 5.4 CVE-2018-1999007 EUVD-2022-2708GHSA-6456-xjm5-g3pg

Cross-site scripting vulnerability exists in Jenkins and Stapler Plugin

Published Jul 23, 2018 · Updated Aug 5, 2024 · Assigned by mitre

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.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.jenkins-ci.main:jenkins-core < 2.121.2 2.121.2 GHSA-6456-xjm5-g3pg
Maven org.jenkins-ci.main:jenkins-core >= 2.122, < 2.132 2.132 GHSA-6456-xjm5-g3pg
Maven org.kohsuke.stapler:stapler-parent < 1.250.1 1.250.1 GHSA-6456-xjm5-g3pg

References