GitHub Advisoryadvisory · Maven
GHSA-mj7q-cmf3-mg7h Stored XSS vulnerability in Jenkins on new item page
MEDIUM
Official page ↗
- Aliases
- CVE-2021-21611
- Ecosystem
- Maven
- Packages
- org.jenkins-ci.main:jenkins-core
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2022-06-23
Affected packages
• Maven org.jenkins-ci.main:jenkins-core: < 2.263.2 → fixed in 2.263.2
• Maven org.jenkins-ci.main:jenkins-core: >= 2.264, < 2.275 → fixed in 2.275
Description
Jenkins 2.274 and earlier, LTS 2.263.1 and earlier does not escape display names and IDs of item types shown on the New Item page.
This results in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to specify display names or IDs of item types.
As of the publication of this advisory, the Jenkins security team is not aware of any plugins published via the Jenkins project update center that allow doing this.
Jenkins 2.275, LTS 2.263.2 escapes display names and IDs of item types shown on the New Item page.
Related
Alias · CVE (1)
- CVE-2021-21611 Jenkins 2.274 and earlier, LTS 2.263.1 and earlier does not escape display names and IDs of item types shown on the New Item page,… vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness