{"id":"CVE-2021-39906","aliases":["BIT-gitlab-2021-39906","UBUNTU-CVE-2021-39906"],"summary":"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.","published_at":"2021-11-04T23:04:36Z","modified_at":"2026-09-10T16:01:18.979686Z","products":[{"slug":"gitlab","name":"GitLab CE/EE","category":"gitops-cicd"}],"rating":{"severity":"high","score":8.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","attack_path":"internet_authenticated","user_interaction":true,"malicious":false,"vendor_ratings":[{"source":"Ubuntu","rating":"medium"}]},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.6072900295257568,"percentile":0.9916899800300598,"date":"2026-11-20T00:00:00Z"},"priority":10.7,"record_count":4,"vendors":["Ubuntu","Bitnami"],"details":"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_stack":[{"ecosystem":"CVE","package":"GitLab/GitLab","versions":[">=13.5, <14.2.6",">=14.3, <14.3.4",">=14.4, <14.4.1"],"provider":"cvelistv5","source":"CVE-2021-39906","relation":"self"},{"ecosystem":"NVD","package":"gitlab:gitlab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.5.0"},{"fixed":"14.2.6"}]},{"type":"ECOSYSTEM","events":[{"introduced":"13.5.0"},{"fixed":"14.2.6"}]},{"type":"ECOSYSTEM","events":[{"introduced":"14.3.0"},{"fixed":"14.3.4"}]},{"type":"ECOSYSTEM","events":[{"introduced":"14.3.0"},{"fixed":"14.3.4"}]},{"type":"ECOSYSTEM","events":[{"introduced":"14.4.0"},{"fixed":"14.4.1"}]},{"type":"ECOSYSTEM","events":[{"introduced":"14.4.0"},{"fixed":"14.4.1"}]}],"fixed":["14.2.6","14.2.6","14.3.4","14.3.4","14.4.1","14.4.1"],"provider":"nvd","source":"CVE-2021-39906","relation":"self"}],"affected_other":[{"ecosystem":"Bitnami","package":"gitlab","purl":"pkg:bitnami/gitlab","ranges":[{"type":"SEMVER","events":[{"introduced":"13.5.0"},{"fixed":"14.2.6"},{"introduced":"14.3.0"},{"fixed":"14.3.4"},{"introduced":"14.4.0"},{"fixed":"14.4.1"}]}],"fixed":["14.2.6","14.3.4","14.4.1"],"provider":"osv","source":"BIT-gitlab-2021-39906","relation":"self"},{"ecosystem":"Ubuntu:16.04:LTS","package":"gitlab","purl":"pkg:deb/ubuntu/gitlab@8.5.8+dfsg-5?arch=source&distro=xenial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.4.3+dfsg-9","8.4.3+dfsg-12","8.5.8+dfsg-5"],"provider":"osv","source":"UBUNTU-CVE-2021-39906","relation":"self"}],"product_status":[],"records":[{"provider":"cvelistv5","source_id":"CVE-2021-39906","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2021-39906","license":"CC-BY-4.0","published_at":"2021-11-04T23:04:36Z","modified_at":"2024-08-04T02:20:33.69Z","summary":"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.","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","source":"CVE-2021-39906"}],"affected":[{"ecosystem":"CVE","package":"GitLab/GitLab","versions":[">=13.5, <14.2.6",">=14.3, <14.3.4",">=14.4, <14.4.1"],"provider":"cvelistv5","source":"CVE-2021-39906","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/341566"},{"type":"WEB","url":"https://hackerone.com/reports/1347600"},{"type":"WEB","url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39906.json"}]},{"provider":"nvd","source_id":"CVE-2021-39906","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39906","severity":[],"affected":[{"ecosystem":"NVD","package":"gitlab:gitlab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.5.0"},{"fixed":"14.2.6"}]},{"type":"ECOSYSTEM","events":[{"introduced":"13.5.0"},{"fixed":"14.2.6"}]},{"type":"ECOSYSTEM","events":[{"introduced":"14.3.0"},{"fixed":"14.3.4"}]},{"type":"ECOSYSTEM","events":[{"introduced":"14.3.0"},{"fixed":"14.3.4"}]},{"type":"ECOSYSTEM","events":[{"introduced":"14.4.0"},{"fixed":"14.4.1"}]},{"type":"ECOSYSTEM","events":[{"introduced":"14.4.0"},{"fixed":"14.4.1"}]}],"fixed":["14.2.6","14.2.6","14.3.4","14.3.4","14.4.1","14.4.1"],"provider":"nvd","source":"CVE-2021-39906","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"BIT-gitlab-2021-39906","relation":"self","url":"https://osv.dev/vulnerability/BIT-gitlab-2021-39906","license":"Apache-2.0","published_at":"2024-03-06T11:17:58.842Z","modified_at":"2026-09-10T16:01:18.979686Z","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","source":"BIT-gitlab-2021-39906"}],"affected":[{"ecosystem":"Bitnami","package":"gitlab","purl":"pkg:bitnami/gitlab","ranges":[{"type":"SEMVER","events":[{"introduced":"13.5.0"},{"fixed":"14.2.6"},{"introduced":"14.3.0"},{"fixed":"14.3.4"},{"introduced":"14.4.0"},{"fixed":"14.4.1"}]}],"fixed":["14.2.6","14.3.4","14.4.1"],"provider":"osv","source":"BIT-gitlab-2021-39906","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39906.json"},{"type":"WEB","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/341566"},{"type":"ADVISORY","url":"https://hackerone.com/reports/1347600"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39906"}]},{"provider":"osv","source_id":"UBUNTU-CVE-2021-39906","relation":"self","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2021-39906","license":"CC-BY-SA-4.0","published_at":"2021-11-05T00:15:00Z","modified_at":"2025-10-24T04:50:33Z","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"UBUNTU-CVE-2021-39906"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","source":"UBUNTU-CVE-2021-39906"},{"type":"Ubuntu","score":"medium","source":"UBUNTU-CVE-2021-39906"}],"affected":[{"ecosystem":"Ubuntu:16.04:LTS","package":"gitlab","purl":"pkg:deb/ubuntu/gitlab@8.5.8+dfsg-5?arch=source&distro=xenial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.4.3+dfsg-9","8.4.3+dfsg-12","8.5.8+dfsg-5"],"provider":"osv","source":"UBUNTU-CVE-2021-39906","relation":"self"}],"product_status":[],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-39906"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-39906"}]}],"references":[{"type":"WEB","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/341566"},{"type":"WEB","url":"https://hackerone.com/reports/1347600"},{"type":"WEB","url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39906.json"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39906"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-39906"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-39906"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2021-39906","url":"https://www.cve.org/CVERecord?id=CVE-2021-39906","license":"CC-BY-4.0","modified_at":"2024-08-04T02:20:33.69Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2021-39906","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39906","relation":"self"},{"provider":"osv","source_id":"BIT-gitlab-2021-39906","url":"https://osv.dev/vulnerability/BIT-gitlab-2021-39906","license":"Apache-2.0","modified_at":"2026-09-10T16:01:18.979686Z","relation":"self"},{"provider":"osv","source_id":"UBUNTU-CVE-2021-39906","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2021-39906","license":"CC-BY-SA-4.0","modified_at":"2025-10-24T04:50:33Z","relation":"self"}]}
