What’s Vulnerable › Vulnerabilities
CVE-2022-1940
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 6.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-06-06 · updated 2026-06-17
- Weakness: CWE-79
Description
A Stored Cross-Site Scripting vulnerability in Jira integration in GitLab EE affecting all versions from 13.11 prior to 14.9.5, 14.10 prior to 14.10.4, and 15.0 prior to 15.0.1 allows an attacker to execute arbitrary JavaScript code in GitLab on a victim's behalf via specially crafted Jira Issues
Affected products
- GitLab: from 13.11.0 before 14.9.5; from 14.10.0 before 14.10.4; 15.0.0 — fixed in 14.10.4, 14.9.5
How to fix
Upgrade to a fixed version: GitLab 14.10.4, 14.9.5. Check the vendor advisory for mitigations.
References
- https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-1940.json
- https://gitlab.com/gitlab-org/gitlab/-/issues/359142
- https://hackerone.com/reports/1533976
- https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-1940.json
- https://gitlab.com/gitlab-org/gitlab/-/issues/359142
- https://hackerone.com/reports/1533976
Get alerted when CVE-2022-1940 or the next vulnerability affects your stack