CVE-2021-21610Jenkins
Medium 6.1 No auth needed
Follow: this CVE · Jenkins · Jenkins We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 1.2% probability of exploitation in 30 days · percentile 68
- Auth required
- No
- Published
- Jan 13, 2021
- Updated
- Jun 17, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Jenkins.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.jenkins-ci.main:jenkins-core |
< 2.263.2 |
2.263.2 |
— |
| Maven | org.jenkins-ci.main:jenkins-core |
≥ 2.264 < 2.275 |
2.275 |
— |
Per OSV / GitHub Advisories (GHSA-7qf3-c2q8-69m3). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| jenkins | jenkins | ≤ 2.263.1 |
| jenkins | jenkins | ≤ 2.274 |
Official sources
References
Links published by the sources. Open them with care.
- www.jenkins.io Vendor Advisory