{"id":"CVE-2021-39946","aliases":["BIT-gitlab-2021-39946","EUVD-2021-26302","GHSA-rvcw-fpwr-r263","UBUNTU-CVE-2021-39946"],"status":"published","title":"Improper neutralization of user input in GitLab CE/EE versions 14.3 to 14.3.6, 14.4 to 14.4.4,...","description":"Improper neutralization of user input in GitLab CE/EE versions 14.3 to 14.3.6, 14.4 to 14.4.4, and 14.5 to 14.5.2 allowed an attacker to exploit XSS by abusing the generation of the HTML code related to emojis","severity":{"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","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.01076,"percentile":0.65415,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2022-01-18T16:52:11Z","modified":"2026-10-30T10:30:22Z","fixes":[{"ecosystem":"Bitnami","package":"gitlab","fixed_in":["14.3.6","14.4.4","14.5.2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Bitnami","package":"gitlab","ranges":[{"type":"SEMVER","events":[{"introduced":"14.3.0"},{"fixed":"14.3.6"},{"introduced":"14.4.0"},{"fixed":"14.4.4"},{"introduced":"14.5.0"},{"fixed":"14.5.2"}]}]},{"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/345657","tags":["x_refsource_MISC","x_transferred","Broken Link","Vendor Advisory","advisory","report"]},{"url":"https://hackerone.com/reports/1398305","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-39946.json","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39946","tags":["web"]},{"url":"https://github.com/advisories/GHSA-rvcw-fpwr-r263"},{"url":"https://ubuntu.com/security/CVE-2021-39946","tags":["report"]},{"url":"https://about.gitlab.com/releases/2022/01/11/security-release-gitlab-14-6-2-released/","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-39946","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-39946","description":"Improper neutralization of user input in GitLab CE/EE versions 14.3 to 14.3.6, 14.4 to 14.4.4, and 14.5 to 14.5.2 allowed an attacker to exploit XSS by abusing the generation of the HTML code related to emojis","status":"published","published":"2022-01-18T16:52:11Z","modified":"2024-08-04T02:20:34.213Z","cvss":[{"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","level":"high","assessor":"cna"}],"updated_at":"2026-11-02T14:33:09.175141Z"}],"euvd":[{"id":"EUVD-2021-26302","description":"Improper neutralization of user input in GitLab CE/EE versions 14.3 to 14.3.6, 14.4 to 14.4.4, and 14.5 to 14.5.2 allowed an attacker to exploit XSS by abusing the generation of the HTML code related to emojis","status":"published","published":"2022-01-18T16:52:11Z","modified":"2024-08-04T02:20:34Z","cvss":[{"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","level":"high"}],"updated_at":"2026-11-03T03:24:21.810275Z"}],"ghsa":[{"id":"GHSA-rvcw-fpwr-r263","title":"Improper neutralization of user input in GitLab CE/EE versions 14.3 to 14.3.6, 14.4 to 14.4.4,...","description":"Improper neutralization of user input in GitLab CE/EE versions 14.3 to 14.3.6, 14.4 to 14.4.4, and 14.5 to 14.5.2 allowed an attacker to exploit XSS by abusing the generation of the HTML code related to emojis","status":"published","published":"2022-01-19T00:01:08Z","modified":"2023-02-03T05:04:48Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:53:37.712549Z"}],"nvd":[{"id":"CVE-2021-39946","description":"Improper neutralization of user input in GitLab CE/EE versions 14.3 to 14.3.6, 14.4 to 14.4.4, and 14.5 to 14.5.2 allowed an attacker to exploit XSS by abusing the generation of the HTML code related to emojis","status":"published","published":"2022-01-18T17:15:08.777Z","modified":"2026-06-17T04:04:28.64Z","cvss":[{"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","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:07:03.821385Z"}],"osv":[{"id":"CVE-2021-39946","description":"Improper neutralization of user input in GitLab CE/EE versions 14.3 to 14.3.6, 14.4 to 14.4.4, and 14.5 to 14.5.2 allowed an attacker to exploit XSS by abusing the generation of the HTML code related to emojis","status":"published","published":"2022-01-18T17:15:08.777Z","modified":"2026-10-30T10:30:22.929052447Z","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-39946","description":"Improper neutralization of user input in GitLab CE/EE versions 14.3 to 14.3.6, 14.4 to 14.4.4, and 14.5 to 14.5.2 allowed an attacker to exploit XSS by abusing the generation of the HTML code related to emojis","status":"published","published":"2022-01-18T17: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":8.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:54:28.526929Z"},{"id":"BIT-gitlab-2021-39946","description":"Improper neutralization of user input in GitLab CE/EE versions 14.3 to 14.3.6, 14.4 to 14.4.4, and 14.5 to 14.5.2 allowed an attacker to exploit XSS by abusing the generation of the HTML code related to emojis","status":"published","published":"2024-03-06T11:17:14.405Z","modified":"2026-09-10T16:01:19.342632569Z","updated_at":"2026-11-02T15:28:30.405543Z"}]}}
