Skip to content

Jenkins Stored Cross-site Scripting vulnerability

High severity GitHub Reviewed Published Jul 26, 2023 to the GitHub Advisory Database • Updated Nov 7, 2023

Package

maven org.jenkins-ci.main:jenkins-core (Maven)

Affected versions

< 2.401.3
= 2.415
>= 2.402, < 2.414.1

Patched versions

2.401.3
2.416
2.414.1

Description

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.

References

Published by the National Vulnerability Database Jul 26, 2023
Published to the GitHub Advisory Database Jul 26, 2023
Reviewed Jul 26, 2023
Last updated Nov 7, 2023

Severity

High
8.0
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2023-39151

GHSA ID

GHSA-69vw-3pcm-84rw

Source code

Credits

Checking history
See something to contribute? Suggest improvements for this vulnerability.