CVE-2021-21608
Stored XSS vulnerability in Jenkins button labels
5.4
MEDIUM
CVSS 3.1
EPSS 0.32%
Description
Jenkins 2.274 and earlier, LTS 2.263.1 and earlier does not escape button labels in the Jenkins UI. This results in a cross-site scripting vulnerability exploitable by attackers with the ability to control button labels. An example of buttons with a user-controlled label are the buttons of the Pipeline `input` step. Jenkins 2.275, LTS 2.263.2 escapes button labels in the Jenkins UI.
How to fix CVE-2021-21608
To remediate CVE-2021-21608, upgrade the affected package to a fixed version below.
- —upgrade to 2.274.1 or later
- —upgrade to 2.275 or later
Is CVE-2021-21608 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 2.274.1
- from 0, < 2.275
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |