PT-2023-26808 · Jenkins · Jenkins

Devin Nusbaum

+1

·

Published

2023-07-26

·

Updated

2024-03-06

·

CVE-2023-39151

CVSS v3.1

8.0

High

VectorAV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Jenkins versions 2.415 and earlier Jenkins LTS versions 2.401.2 and earlier
Description The issue is related to the transformation of URLs in build logs into hyperlinks, which are not properly sanitized or encoded. This results in a stored cross-site scripting (XSS) vulnerability that can be exploited by attackers who can control the contents of build logs.
Recommendations For Jenkins versions 2.415 and earlier, update to version 2.416 or later to resolve the issue. For Jenkins LTS versions 2.401.2 and earlier, update to version 2.401.3 or later to resolve the issue. As a temporary workaround, consider disabling the transformation of URLs into hyperlinks in build logs until a patch is available.

Exploit

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BIT-JENKINS-2023-39151
CVE-2023-39151
GHSA-69VW-3PCM-84RW

Affected Products

Jenkins