Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2021-21610

jenkins: Reflected XSS vulnerability in markup formatter preview

Overview

Published
13 Jan 2021
Modified
17 Jun 2026
Medium CVE
2 Registry packages
106 OS packages
2 Linux distributions
Yes Fix available

Description

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.

Source: OX vulnerability database

Severity

6.1 · MEDIUM

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Weakness: CWE-79

Affected packages · 2

Packages affected by CVE-2021-21610
EcosystemPackageVulnerableFixed in
Bitnami jenkins <2.274.1 2.274.1
Maven org.jenkins-ci.main:jenkins-core <2.263.2>=2.264, <2.275 2.263.22.275

Open a package to see all its vulnerabilities.

Operating systems · 77 fixes

Red Hat 2 releases · 57 packages

fixed 73
runc cri-tools cri-o jenkins jenkins-2-plugins python2-rsa +51
Red Hat fixes for CVE-2021-21610
ReleasePackageFixed inAdvisory
7 runc 0:1.0.0-98.rhaos4.8.gitcd80260.el7 RHSA-2021:2437
7 cri-tools 0:1.21.0-2.el7 RHSA-2021:2437
7 cri-o 0:1.21.2-5.rhaos4.8.gitb27d974.el7 RHSA-2021:2437
7 jenkins 0:2.263.3.1612433584-1.el7 RHSA-2021:0637
7 jenkins 0:2.263.3.1612434332-1.el7 RHSA-2021:0429
7 jenkins-2-plugins 0:3.11.1612862361-1.el7 RHSA-2021:0637

67 more rows

alpine 4 releases · 1 package

fixed 4
jenkins
alpine fixes for CVE-2021-21610
ReleasePackageFixed in
3.22 jenkins 2.275-r0
3.23 jenkins 2.275-r0
3.24 jenkins 2.275-r0
edge jenkins 2.275-r0

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.