SecurityContext

CVE-2022-1940: GitLab EE - Stored Cross-Site Scripting

  • Cve: CVE-2022-1940
  • Name: GitLab EE - Stored Cross-Site Scripting
  • 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
  • Impact: Attackers can execute arbitrary JavaScript in victims' browsers, potentially leading to session hijacking, data theft, or defacement.
  • Remediation: Update to GitLab EE version 14.9.5, 14.10.4, or 15.0.1 or later.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Attacker needs to craft malicious Jira issues
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.4
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.06288
  • Epss percentile: 0.93764
  • Assignee: [email protected]
  • Published at: 2022-06-06T17:15:10Z
  • Age in days: 1632
  • Modified at: 2026-06-17T04:23:23Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-1940
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

Hackerone

  • Reports: 1
  • Rank: 5211

References

UrlSourceTags
https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-1940.jsonnvdPatch, Third Party Advisory
https://hackerone.com/reports/1533976nvdPermissions Required

Products

ProductAffectedPlatform boundSourcesUrl
gitlab:gitlab= 15.0.0; >= 14.10.0, < 14.10.4; >= 13.11.0, < 14.9.5nonvd/v1/products/gitlab/gitlab

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Hackerone reports: 1
  • Exposed hosts: 66493
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since