{"id":"CVE-2021-39887","aliases":["BIT-gitlab-2021-39887","EUVD-2021-26243","GHSA-8j2x-wq4x-63v8","UBUNTU-CVE-2021-39887"],"status":"published","title":"A stored Cross-Site Scripting vulnerability in the GitLab Flavored Markdown in GitLab CE/EE...","description":"A stored Cross-Site Scripting vulnerability in the GitLab Flavored Markdown in GitLab CE/EE version 8.4 and above allowed an attacker to execute arbitrary JavaScript code on the victim's behalf.","severity":{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00864,"percentile":0.5911,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2021-10-05T11:12:11Z","modified":"2026-10-30T10:30:17Z","fixes":[{"ecosystem":"Bitnami","package":"gitlab","fixed_in":["14.1.7","14.2.5","14.3.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Bitnami","package":"gitlab","ranges":[{"type":"SEMVER","events":[{"introduced":"8.4.0"},{"fixed":"14.1.7"},{"introduced":"14.2.0"},{"fixed":"14.2.5"},{"introduced":"14.3.0"},{"fixed":"14.3.1"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"gitlab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.4.3+dfsg-9","8.4.3+dfsg-12","8.5.8+dfsg-5"]}],"products":[{"vendor":"gitlab","product":"gitlab"}],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/332903","tags":["x_refsource_MISC","x_transferred","Broken Link","web","report"]},{"url":"https://hackerone.com/reports/1218174","tags":["x_refsource_MISC","x_transferred","Permissions Required","Third Party Advisory","advisory","report"]},{"url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39887.json","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39887","tags":["web"]},{"url":"https://github.com/advisories/GHSA-8j2x-wq4x-63v8"},{"url":"https://ubuntu.com/security/CVE-2021-39887","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-39887","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-39887","description":"A stored Cross-Site Scripting vulnerability in the GitLab Flavored Markdown in GitLab CE/EE version 8.4 and above allowed an attacker to execute arbitrary JavaScript code on the victim's behalf.","status":"published","published":"2021-10-05T11:12:11Z","modified":"2024-08-04T02:20:33.689Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","level":"high","assessor":"cna"}],"updated_at":"2026-11-02T14:33:09.540052Z"}],"euvd":[{"id":"EUVD-2021-26243","description":"A stored Cross-Site Scripting vulnerability in the GitLab Flavored Markdown in GitLab CE/EE version 8.4 and above allowed an attacker to execute arbitrary JavaScript code on the victim's behalf.","status":"published","published":"2021-10-05T11:12:11Z","modified":"2024-08-04T02:20:33Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","level":"high"}],"updated_at":"2026-11-03T03:24:21.810275Z"}],"ghsa":[{"id":"GHSA-8j2x-wq4x-63v8","title":"A stored Cross-Site Scripting vulnerability in the GitLab Flavored Markdown in GitLab CE/EE...","description":"A stored Cross-Site Scripting vulnerability in the GitLab Flavored Markdown in GitLab CE/EE version 8.4 and above allowed an attacker to execute arbitrary JavaScript code on the victim's behalf.","status":"published","published":"2022-05-24T19:16:37Z","modified":"2023-01-30T05:02:33Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:46:39.888016Z"}],"nvd":[{"id":"CVE-2021-39887","description":"A stored Cross-Site Scripting vulnerability in the GitLab Flavored Markdown in GitLab CE/EE version 8.4 and above allowed an attacker to execute arbitrary JavaScript code on the victim's behalf.","status":"published","published":"2021-10-05T12:15:07.903Z","modified":"2026-06-17T04:04:21.907Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","level":"high","assessor":"secondary"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:06:59.314106Z"}],"osv":[{"id":"CVE-2021-39887","description":"A stored Cross-Site Scripting vulnerability in the GitLab Flavored Markdown in GitLab CE/EE version 8.4 and above allowed an attacker to execute arbitrary JavaScript code on the victim's behalf.","status":"published","published":"2021-10-05T12:15:07.903Z","modified":"2026-10-30T10:30:17.009819748Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:21.249056Z"},{"id":"UBUNTU-CVE-2021-39887","description":"A stored Cross-Site Scripting vulnerability in the GitLab Flavored Markdown in GitLab CE/EE version 8.4 and above allowed an attacker to execute arbitrary JavaScript code on the victim's behalf.","status":"published","published":"2021-10-05T12:15:00Z","modified":"2025-10-24T04:50:33Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:54:28.526929Z"},{"id":"BIT-gitlab-2021-39887","description":"A stored Cross-Site Scripting vulnerability in the GitLab Flavored Markdown in GitLab CE/EE version 8.4 and above allowed an attacker to execute arbitrary JavaScript code on the victim's behalf.","status":"published","published":"2024-03-06T11:18:25.22Z","modified":"2026-09-10T16:01:32.890700801Z","updated_at":"2026-11-02T15:28:29.999658Z"}]}}
