{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-39885","id":"CVE-2021-39885","title":"A Stored XSS in merge request creation page in all versions of Gitlab EE starting from 13.7 before 14.1.7, all versio…","description":"A Stored XSS in merge request creation page in all versions of Gitlab EE starting from 13.7 before 14.1.7, all versions starting from 14.2 before 14.2.5, and all versions starting from 14.3 before 14.3.1 allows an attacker to execute arbitrary JavaScript code on the victim's behalf via malicious approval rule names","descriptionLong":"A Stored XSS in merge request creation page in all versions of Gitlab EE starting from 13.7 before 14.1.7, all versions starting from 14.2 before 14.2.5, and all versions starting from 14.3 before 14.3.1 allows an attacker to execute arbitrary JavaScript code on the victim's behalf via malicious approval rule names","published":"2021-10-04T16:33:54.000Z","updated":"2026-10-20T10:54:55.126917099Z","reserved":"2021-08-23T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"GitLab","metric":{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","rating":"high","source":"GitLab"},"metrics":[{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","rating":"high","source":"GitLab"},{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","rating":"high","source":"gitlab.com"},{"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","rating":"medium","source":"NVD"},{"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","rating":"medium","source":"OSV"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","rating":"low","source":"NVD"}],"rating":"high","products":["GitLab"],"affectedProducts":[{"vendor":"GitLab","product":"GitLab","defaultStatus":null,"versions":[{"status":"affected","version":">=13.7, <14.1.7"},{"status":"affected","version":">=14.2, <14.2.5"},{"status":"affected","version":">=14.3, <14.3.1"}],"platforms":[]}],"packages":[],"cwes":["CWE-79"],"aliases":["BIT-gitlab-2021-39885"],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/341140","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Vendor Advisory","report"]},{"url":"https://hackerone.com/reports/1342009","tags":["x_refsource_MISC","x_transferred","Exploit","Permissions Required","Third Party Advisory","report"]},{"url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39885.json","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01134,"epssPercentile":0.67174,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-39885","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39885","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-39885","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-39885","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["gitlab"],"critical":[],"attention":null}