CVE-2021-21608
JSON

5.4medium

Stored XSS vulnerability in Jenkins button labels

Severity
5.4medium CVSS:3.1 by NVD
Exploit likelihood
1.04% (higher than 64% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
jenkins
Also known as
GHSA-wv63-gwr9-5c55BIT-JENKINS-2021-21608

Description

Jenkins 2.274 and earlier, LTS 2.263.1 and earlier does not escape button labels in the Jenkins UI, resulting in a cross-site scripting (XSS) vulnerability exploitable by attackers with the ability to control button labels.

Affected

Product or packageVersionsReported by
Jenkins project Jenkinsfrom unspecified up to 2.274, from unspecified up to LTS 2.263.1CVE List
org.jenkins-ci.main:jenkins-core (Maven)before 2.275, from 2.263.2 before 2.275GitHub Advisory Database
jenkins jenkinsup to 2.263.1, up to 2.274NVD
jenkins (Bitnami)before 2.274.1Bitnami Vulnerability Database

All scores

GitHub5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD3.5low CVSS:2.0AV:N/AC:M/Au:S/C:N/I:P/A:N
Bitnami Vulnerability Databasemedium rating

Classification

What each source says

CVE List

Jenkins 2.274 and earlier, LTS 2.263.1 and earlier does not escape button labels in the Jenkins UI, resulting in a cross-site scripting (XSS) vulnerability exploitable by attackers with the ability to control button labels.

GitHub Advisory Database

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.

NVD (es)

Jenkins versiones 2.274 y anteriores, LTS versiones 2.263.1 y anteriores, no escapan las etiquetas de los botones en la Interfaz de Usuario de Jenkins, resultando en una vulnerabilidad de tipo cross-site scripting (XSS) explotable por unos atacantes con la habilidad de controlar unas etiquetas de unos botones.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-21608 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-wv63-gwr9-5c55 changed 2024-02-16CC-BY-4.0
NVDCVE-2021-21608 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-JENKINS-2021-21608 changed 2026-09-08Apache-2.0