PT-2022-22045 · Jenkins · Jenkins Embeddable Build Status Plugin+1
Kevin Guerroudj
+1
·
Published
2022-06-22
·
Updated
2023-11-03
·
CVE-2022-34178
CVSS v3.1
6.1
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
Jenkins Embeddable Build Status Plugin version 2.0.3
Description
The issue allows specifying a
link query parameter for build status badges without restricting possible values, resulting in a reflected cross-site scripting (XSS) vulnerability. This means an attacker could potentially inject malicious code into the badge link.Recommendations
For Jenkins Embeddable Build Status Plugin version 2.0.3, consider updating to version 2.0.4, which limits URLs to
http and https protocols and correctly escapes the provided value. As a temporary workaround, consider restricting the use of the link query parameter until a patch is applied.Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Jenkins
Jenkins Embeddable Build Status Plugin