CVE-2021-39906
published 2021-11-05CVE-2021-39906: 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.
PriorityP349medium6.1CVSS 3.1
AVNACLPRNUIRSCCLILAN
EPSS
60.73%
99.0th percentile
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.
Affected
9 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | gitlab | < gitlab 15.10.8+ds1-2 (sid) | gitlab 15.10.8+ds1-2 (sid) |
| gitlab | gitlab | — | — |
| gitlab | gitlab | — | — |
| gitlab | gitlab | — | — |
| gitlab | gitlab | — | — |
| gitlab | gitlab | >= 13.5.0 < 14.2.6 | 14.2.6 |
| gitlab | gitlab | >= 14.3.0 < 14.3.4 | 14.3.4 |
| gitlab | gitlab | >= 14.4.0 < 14.4.1 | 14.4.1 |
| gitlab | gitlab_ce | — | — |
Detection & IOCsextracted from sources · hover to see the quote
- →Focus detection on improper validation of .ipynb (Jupyter Notebook) files uploaded or rendered in GitLab CE/EE, which can lead to stored XSS / arbitrary JavaScript execution on behalf of victims. ↗
- →Monitor GitLab instances for uploads or rendering of .ipynb files containing embedded JavaScript payloads (e.g., in cell outputs or metadata fields), particularly in repositories accessible to other users. ↗
- ·Vulnerability affects GitLab CE/EE version 13.5 and above; patched in Debian sid at version 15.10.8+ds1-2. Ensure GitLab instances are upgraded to a fixed release. ↗
- ·The vulnerability scope is classified as local, meaning exploitation requires the attacker to have some level of access to the GitLab instance (e.g., ability to push or share .ipynb files). ↗
CVSS provenance
nvdv3.16.1MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:P/A:N
osv6.1MEDIUM
vendor_debian8.7HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GitLab
CVE-2021-39906: 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 beha
vendor_gitlab·2021-11-05·CVSS 8.7
CVE-2021-39906 [HIGH] CWE-79 CVE-2021-39906: 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 beha
CVE-2021-39906: 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.
Debian
CVE-2021-39906: gitlab - Improper validation of ipynb files in GitLab CE/EE version 13.5 and above allows...
vendor_debian·2021·CVSS 8.7
CVE-2021-39906 [HIGH] CVE-2021-39906: gitlab - Improper validation of ipynb files in GitLab CE/EE version 13.5 and above allows...
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.
Scope: local
sid: resolved (fixed in 15.10.8+ds1-2)
GHSA
GHSA-6cxq-rcp9-rqr8: Improper validation of ipynb files in GitLab CE/EE version 13
ghsa_unreviewed·2022-05-24
CVE-2021-39906 [MEDIUM] CWE-79 GHSA-6cxq-rcp9-rqr8: Improper validation of ipynb files in GitLab CE/EE version 13
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.
OSV
CVE-2021-39906: Improper validation of ipynb files in GitLab CE/EE version 13
osv·2021-11-05·CVSS 6.1
CVE-2021-39906 [MEDIUM] CVE-2021-39906: Improper validation of ipynb files in GitLab CE/EE version 13
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.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39906.jsonhttps://gitlab.com/gitlab-org/gitlab/-/issues/341566https://hackerone.com/reports/1347600https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39906.jsonhttps://gitlab.com/gitlab-org/gitlab/-/issues/341566https://hackerone.com/reports/1347600
2021-11-05
Published