CVE-2021-39906Gitlab
Medium 6.1 No auth neededHigh EPSS
Follow: this CVE · Gitlab · Gitlab We alert you by email or Slack (account required).
- Priority
- 58
- CVSS 3.1
- 6.1
- EPSS
- 60.7% probability of exploitation in 30 days · percentile 99
- Auth required
- No
- Published
- Nov 5, 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
Improper validation of ipynb files in GitLab CE/EE version 13.5 and above allows an attacker to execute arbitrary JavaScript code on the victim's behalf.
What to do
- Apply the vendor's security update for Gitlab.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gitlab | gitlab | ≥ 13.5.0 < 14.2.6 |
| gitlab | gitlab | ≥ 13.5.0 < 14.2.6 |
| gitlab | gitlab | ≥ 14.3.0 < 14.3.4 |
| gitlab | gitlab | ≥ 14.3.0 < 14.3.4 |
| gitlab | gitlab | ≥ 14.4.0 < 14.4.1 |
| gitlab | gitlab | ≥ 14.4.0 < 14.4.1 |
Official sources
References
Links published by the sources. Open them with care.
- gitlab.com Vendor Advisory
- gitlab.com Broken Link
- hackerone.com Permissions Required Third Party Advisory