NetSight
high8.0

CVE-2023-39151

Jenkins Stored Cross-site Scripting vulnerability

Impact

Jenkins applies formatting to the console output of builds, transforming plain URLs into hyperlinks. Jenkins 2.415 and earlier, 2.414 and earlier, and LTS 2.401.2 and earlier does not sanitize or properly encode URLs of these hyperlinks in build logs. This results in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to control build log contents. Jenkins 2.416, 2.414.1, and LTS 2.401.3 encodes URLs of affected hyperlink annotations in build logs.

Affected packages

EcosystemPackageAffectedFixed in
mavenorg.jenkins-ci.main:jenkins-core< 2.401.32.401.3

Affected products

VendorProductAffected versions
JenkinsJenkins
through 2.415
through 2.401.2

Weakness classification

References