CVE-2021-39160: nbgitpuller - Stored XSS
- Cve: CVE-2021-39160
- Name: nbgitpuller - Stored XSS
- Description: nbgitpuller is a Jupyter server extension to sync a git repository one-way to a local path. Due to unsanitized input, visiting maliciously crafted links could result in arbitrary code execution in the user environment. This has been resolved in version 0.10.2 and all users are advised to upgrade. No work around exist for users who can not upgrade.
- Impact: Attackers can execute arbitrary code in user environments, potentially leading to full system compromise or data theft.
- Remediation: Upgrade to version 0.10.2 or later.
- Vulnerability type: stored_xss
- Vulnerability impact: remote_code_execution
- Requirement type: user_interaction
- Requirements: Victim needs to visit maliciously crafted links
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.0173
- Epss percentile: 0.78079
- Assignee: [email protected]
- Published at: 2021-08-25T18:15:08Z
- Age in days: 1917
- Modified at: 2026-06-17T04:03:13Z
- Patch available: yes
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-39160
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-94 | Improper Control of Generation of Code |
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/jupyterhub/nbgitpuller/commit/07690644f29a566011dd0d7ba14cae3eb0490481 | Patch, Third Party Advisory |
| https://github.com/jupyterhub/nbgitpuller/blob/main/CHANGELOG.md#0102---2021-08-25 | Release Notes, Third Party Advisory |
| https://github.com/jupyterhub/nbgitpuller/security/advisories/GHSA-mq5p-2mcr-m52j | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| jupyterhub:nbgitpuller | >= 0.9.0, < 0.10.2 | no | nvd | /v1/products/jupyterhub/nbgitpuller |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| jupyterhub/nbgitpuller | commit, package, security_advisory | yes | /v1/repositories/jupyterhub/nbgitpuller |
Index
- Repositories: 1
- Checked, none or zero: repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts