CVE-2022-1940
What it is
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
At a glance
- Exploitability
- Can be exploited over the network with a low-privilege account, but needs a user to act. High risk of data exposure, data tampering.
- Exploit odds
- 6.3% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 6.3% in the next 30 days (EPSS).
- Severity: 7.7 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 6.3% · EPSS, next 30 days
- Weakness
- CWE-79 · Cross-site scripting
- Record status
- Modified
Affected
- GitLab < 14.9.5
- GitLab < 14.10.4
- GitLab 15.0.0
Attack profile CVSS 3.1 · 7.7
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- Low
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- None
Raw vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2022-1940.md and follow it. Check whether this project is affected by CVE-2022-1940. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-1940.json
- https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-1940.json
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