# 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 vi…

- Severity: High 8.7 (CVSS:3.1, scored by GitLab) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 60.7%, higher than 99% of CVEs (2026-12-01)
- Published: 2021-11-04T23:04:36.000Z
- Modified: 2026-09-10T16:01:18.979Z
- Also known as: BIT-GITLAB-2021-39906
- Weaknesses: CWE-79
- Assigned by: GitLab

## Description

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.

(As written by CVE List.)

## Affected

- GitLab GitLab: >=13.5, <14.2.6; >=14.3, <14.3.4; >=14.4, <14.4.1; from 13.5.0 before 14.2.6; from 14.3.0 before 14.3.4; from 14.4.0 before 14.4.1
- gitlab (Bitnami): from 13.5.0 before 14.2.6; from 14.3.0 before 14.3.4; from 14.4.0 before 14.4.1

## Every score

- GitLab: CVSS:3.1 8.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://gitlab.com/gitlab-org/gitlab/-/issues/341566> (broken-link, web)
- <https://hackerone.com/reports/1347600> (advisory, permissions-required, third-party-advisory)
- <https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39906.json> (advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-39906> (web)

## Sources

- CVE List: [CVE-2021-39906](https://www.cve.org/CVERecord?id=CVE-2021-39906), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-39906](https://nvd.nist.gov/vuln/detail/CVE-2021-39906), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GITLAB-2021-39906](https://osv.dev/vulnerability/BIT-GITLAB-2021-39906), Apache-2.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2021-39906 · Whole record: https://cve.day/CVE-2021-39906.json · Rebuilt by cve.day 2026-11-25T22:58:05.366Z
