Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-39906
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 04:59 UTC · Revision 1
Source evidence
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
Complete source record
{
"id": "35962e05b53383ebed50f072e128fe5e63bbbe56699e18559672c4311301cc6b",
"url": "https://osv.dev/vulnerability/CVE-2021-39906",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "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.",
"evidence": "osv:CVE-2021-39906",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-39906",
"aliases": [
"BIT-gitlab-2021-39906",
"CVE-2021-39906"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://gitlab.com/gitlab-org/gitlab",
"type": "GIT",
"events": [
{
"introduced": "2f8ec2ebf58d8d4885127b9715b143e6756f2df1"
},
{
"fixed": "9ed95b96a6766af9336048a63a29b678f88a9413"
},
{
"introduced": "dec73e99fddac59c0bf816dc4bffd2a30abae6de"
},
{
"fixed": "3e776d83389c706fb81973736e57ca6a6fb952fc"
},
{
"introduced": "19c719febd74b6edf549bf6a2c0e36bf8f176d56"
},
{
"fixed": "abc23a14bace184532d1d344c4d230d9fc99eba6"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
"range": [
{
"introduced": "13.5.0"
},
{
"fixed": "14.2.6"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
"range": [
{
"introduced": "13.5.0"
},
{
"fixed": "14.2.6"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
"range": [
{
"introduced": "14.3.0"
},
{
"fixed": "14.3.4"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
"range": [
{
"introduced": "14.3.0"
},
{
"fixed": "14.3.4"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
"range": [
{
"introduced": "14.4.0"
},
{
"fixed": "14.4.1"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
"range": [
{
"introduced": "14.4.0"
},
{
"fixed": "14.4.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v14.3.2-ee",
"v14.4.0-ee",
"v14.3.3-ee",
"v14.3.0-ee"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-39906.json"
}
}
],
"modified": "2026-10-30T10:30:23.801980405Z",
"provider": "osv",
"references": [
"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39906.json",
"https://gitlab.com/gitlab-org/gitlab/-/issues/341566",
"https://hackerone.com/reports/1347600"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-39906",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 430947,
"published_at": "2021-11-05T00:15:10.977+00:00"
}