Skip to content
StratQuad

Threats

GitLab arbitrary JavaScript execution via syntax highlighting

CVE-2026-92883High

GitLab fails to properly sanitise HTML attributes in syntax-highlighted code output. An authenticated user can craft a malicious repository that executes arbitrary JavaScript in the browsers of other users who view the code. An attacker needs to be able to create or modify a repository and have other users view the syntax-highlighted content.

Plain English summary of the NVD and CISA text, checked by machine against both.

Scores and dates

CVSS 3.1
8.7
HIGH
EPSS score
0.00
Probability of exploitation in 30 days
EPSS percentile
41st
Share of scored CVEs at or below this one

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

Daily EPSS score, 3 Nov to 15 Nov, source FIRST

Detail

Affected versions

  • gitlab gitlab: from 19.1.0, before 19.2.8
  • gitlab gitlab: from 19.3.0, before 19.3.5
  • gitlab gitlab: from 19.4.0, before 19.4.2

Reports naming this CVE1 in total