GitHub Advisory Database
GHSA-v3f3-rf6r-43x5
Jenkins Coverage Plugin has a stored cross-site scripting (XSS) vulnerability
Details
Jenkins Coverage Plugin 2.3054.ve1ff7b_a_a_123b_ and earlier does not validate the configured coverage results ID when creating coverage results, only when submitting the job configuration through the UI, allowing attackers with Item/Configure permission to use a javascript: scheme URL as identifier by configuring the job through the REST API, resulting in a stored cross-site scripting (XSS) vulnerability.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | io.jenkins.plugins:coverage | All versions before 2.3056 (fixed in 2.3056) |