GitLab cross-site scripting in wiki pages
Affects GitLab CE/EE from 17.2 before 19.3.9, 19.4 before 19.4.8, and 19.5 before 19.5.6. Fixed in 19.3.9, 19.4.8, and 19.5.6.
- Exploited
- No known exploitation
- Fix
- Fixed in 19.3.9, 19.4.8, 19.5.6
- Who is exposed
- Specific setups only
Summary
GitLab has a cross-site scripting flaw caused by improper sanitization of user input on wiki pages. An authenticated user can exploit it over the network, and it requires a user to view the affected wiki page before arbitrary JavaScript runs in that user's browser.
Written by a model
Original description
GitLab has remediated an issue in GitLab CE/EE affecting all versions from 17.2 before 19.3.9, 19.4 before 19.4.8, and 19.5 before 19.5.6 that under certain conditions could have allowed an authenticated user to execute arbitrary JavaScript in the browser of users viewing a wiki page due to improper sanitization of user input.
Who should check
Teams running self-managed GitLab CE or EE in the affected ranges: 17.2 before 19.3.9, 19.4 before 19.4.8, or 19.5 before 19.5.6.
“Impacted Versions: GitLab CE/EE: all versions from 17.2 before 19.3.9, 19.4 before 19.4.8, and 19.5 before 19.5.6”
What to do
Check whether your setup matches what the bug needs.
Affects GitLab CE/EE from 17.2 before 19.3.9, 19.4 before 19.4.8, and 19.5 before 19.5.6 Exploitation requires a victim to view a wiki pageUpgrade to a fixed version: 19.3.9, 19.4.8, 19.5.6.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-105739 (Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitLab), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-105739 (entry last updated 2026-11-17):
Affected:
- GitLab GitLab: from 17.2, fixed in 19.3.9; from 19.4, fixed in 19.4.8; from 19.5, fixed in 19.5.6
Fixed versions: 19.3.9, 19.4.8, 19.5.6.
Conditions (all must be true for the bug to be hit):
- Affects GitLab CE/EE from 17.2 before 19.3.9, 19.4 before 19.4.8, and 19.5 before 19.5.6 (source: https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-5-6-released/)
- Exploitation requires a victim to view a wiki page (source: https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-5-6-released/)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, low-privilege login, a user action.
CISA KEV: CVE-2026-105739 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-105739 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://gitlab.com/gitlab-org/gitlab/-/work_items/632212
- https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-5-6-released/
- https://www.cve.org/CVERecord?id=CVE-2026-105739
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-105739
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-105739"}.Affected versions
- GitLab GitLabFrom 17.2 · fixed in 19.3.9; From 19.4 · fixed in 19.4.8; From 19.5 · fixed in 19.5.6
cve.now Index
- Exploitation0/40No signal
- Exposure8/25Specific setups only, reachable over the network
- Reach14/20Affects GitLab (an enterprise product or network appliance)
- Severity9.7/10CVSS 8.7, total technical impact per CISA
- No patch0/5No signal
What would change the score
- Would score about 82 if added to CISA KEV
- Would score about 77 if CISA's SSVC rates exploitation active
- Would score about 39 if CISA's SSVC rates it automatable
Timeline
- CVE published
- First seen by cve.now
- Posted on X by cve.now
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Public exploit activity
- EPSS: 0.36%
- Posted on X by cve.now Nov 17
Since disclosure: the repos PoC-in-GitHub lists and FIRST's daily EPSS score.
Evidence 5
| Kind | Source |
|---|---|
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-105739 |
| Record | NVD · CVE-2026-105739 |
| Public exploit code 1Establishes: Public exploit code exists (Exploit-DB, Metasploit, Nuclei and GitHub). | |
| Exploit | hackerone.com · reports/4062595 |
| Other links 2 | |
| Link | gitlab.com · gitlab-org/gitlab/-/work_items/632212 |
| Link | docs.gitlab.com · releases/patches/patch-release-gitlab-19-5-6-released |
Questions about CVE-2026-105739
Is CVE-2026-105739 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
An authenticated user can execute arbitrary JavaScript in the browser of users who view a wiki page.
Source: docs.gitlab.com, cve.org
Which versions are affected by CVE-2026-105739?
GitLab: from 17.2 before 19.3.9; from 19.4 before 19.4.8; from 19.5 before 19.5.6.
Source: cve.now feed data
Am I affected, and how do I check?
GitLab CE/EE versions from 17.2 before 19.3.9, 19.4 before 19.4.8, and 19.5 before 19.5.6 are affected. Compare the installed GitLab version against these ranges.
Source: docs.gitlab.com, cve.org
How do I fix CVE-2026-105739?
Upgrade to GitLab 19.3.9, 19.4.8, 19.5.6 or above.
Source: docs.gitlab.com, cve.org
Related
- CVE-2026-108153Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitLab
- CVE-2026-18241Incorrect Authorization in GitLab
- CVE-2026-97187Incorrect Authorization in GitLab
- CVE-2026-85778Incorrect Authorization in GitLab
- CVE-2026-112203Acceptance of Extraneous Untrusted Data With Trusted Data in GitLab
- CVE-2026-11768Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in GitLab
No corrections so far. Something wrong on this page? Report an error.