All reports
Medium

Stored XSS vulnerability in Jenkins button labels

Affected versions

Affected versions
>= 2.263.2, <= 2.274
Fixed version
2.275
Affected versions
< 2.263.1
Fixed version
2.275

Exploitation

CVE-2021-21608

Probability of exploitation in the next 30 days: 1.04%

FIRST EPSS · 2026-11-21

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.

Links

Credits

  • NotMyFault