CVE-2021-21610
MEDIUM 6.1CVSS 3.1Reflected XSS vulnerability in Jenkins markup formatter preview
Jenkins 2.274 and earlier, LTS 2.263.1 and earlier does not implement any restrictions for the URL rendering a formatted preview of markup passed as a query parameter, resulting in a reflected cross-site scripting (XSS) vulnerability if the configured markup formatter does not prohibit unsafe elements (JavaScript) in markup.
- Published
- 13 Jan 2021
- Last modified
- 17 Jun 2026
- Assigned by
- jenkinsci-cert@googlegroups.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- BIT-jenkins-2021-21610GHSA-7qf3-c2q8-69m3
- Sources
- NVDJSONOSV GHSA-7qf3-c2q8-69m3JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | jenkins | jenkinscpe:2.3:a:jenkins:jenkins:*:*:*:*:lts:*:*:* |
<= 2.263.1 | |
| NVD | jenkins | jenkinscpe:2.3:a:jenkins:jenkins:*:*:*:*:-:*:*:* |
<= 2.274 | |
| OSV | Maven | org.jenkins-ci.main:jenkins-core | < 2.263.2 | 2.263.2 |
| OSV | Maven | org.jenkins-ci.main:jenkins-core | >= 2.264, < 2.275 | 2.275 |
References
- https://www.jenkins.io/security/advisory/2021-01-13/#SECURITY-2153 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-21610 · ADVISORY
- https://github.com/jenkinsci/jenkins/commit/89ec0c40b68cd1e4e9f9ef5ebcafd87e7fa16589 · WEB
- https://github.com/jenkinsci/jenkins · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 13 Jan 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 May 2022)