CVE-2023-32977
JSON

5.4medium

Jenkins Pipeline: Job Plugin vulnerable to stored Cross-site Scripting

Severity
5.4medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.59% (higher than 49% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
jenkins
Also known as
GHSA-2wvv-phhw-qvmc

Description

Jenkins Pipeline: Job Plugin does not escape the display name of the build that caused an earlier build to be aborted, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to set build display names immediately.

Affected

Product or packageVersionsReported by
Jenkins Project Jenkins Pipeline: Job PluginNot specified
Not affected: from 1295.v395eb_7400005 before *, from 1289.1291.vb_7c188e7e7df before 1289.*, from 1207.1209.v69351208a_5a_7 before 1207.*
CVE List
org.jenkins-ci.plugins.workflow:workflow-job (Maven)before 1295.v395ebGitHub Advisory Database
jenkins pipeline:_jobup to 1292.v27d8cc3e2602NVD

All scores

CISA-ADP5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Jenkins Pipeline: Job Plugin does not escape the display name of the build that caused an earlier build to be aborted, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to set build display names immediately.

GitHub Advisory Database

Jenkins Pipeline: Job Plugin 1292.v27d8cc3e2602 and earlier does not escape the display name of the build that caused an earlier build to be aborted, when "Do not allow concurrent builds" is set.

This results in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to set build display names immediately.

The Jenkins security team is not aware of any plugins that allow the exploitation of this vulnerability, as the build name must be set before the build starts. Pipeline: Job Plugin 1295.v395eb_7400005 escapes the display name of the build that caused an earlier build to be aborted.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-32977 changed 2025-01-23CVE Terms of Use
GitHub Advisory DatabaseGHSA-2wvv-phhw-qvmc changed 2024-02-16CC-BY-4.0
NVDCVE-2023-32977 changed 2026-06-17Public domain