PT-2018-5168
CVE-2017-1000386
·
Published
2018-01-26
·
Updated
2022-05-14
Description by
CVSS 3.1
5.4
MediumMetricsAV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions
Jenkins Active Choices plugin versions 1.5.3 and earlier
Description
The issue allows users with Job/Configure permission to insert arbitrary HTML, including JavaScript, into the 'Build With Parameters' page through the 'Active Choices Reactive Reference Parameter' type. To mitigate this, the Active Choices plugin now sanitizes the HTML if the script is executed in a sandbox. However, for unsandboxed scripts, which require administrator approval, it is the administrator's responsibility to manage potentially problematic script output.
Recommendations
For Jenkins Active Choices plugin versions 1.5.3 and earlier, ensure that all scripts are executed in a sandbox to enable HTML sanitization. As a temporary workaround, consider restricting the use of the 'Active Choices Reactive Reference Parameter' type until a more permanent solution is applied. Administrators should carefully review and approve unsandboxed scripts to prevent the execution of arbitrary JavaScript.
Found an issue in the description? Have something to add? Feel free to write us 👾