Jenkins Pipeline: Job Plugin vulnerable to stored Cross-site Scripting
High severity
GitHub Reviewed
Published
May 16, 2023
to the GitHub Advisory Database
•
Updated Jan 4, 2024
Package
Affected versions
< 1295.v395eb
Patched versions
1295.v395eb
Description
Published by the National Vulnerability Database
May 16, 2023
Published to the GitHub Advisory Database
May 16, 2023
Reviewed
May 17, 2023
Last updated
Jan 4, 2024
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