CVE-2025-13761
published high CVSS 3.1 · 8.0Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitLab
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| GitLab | — | GitLab18.6 to < 18.6.3 · 18.7 to < 18.7.1 · Other versions: unaffected | Affected | Not stated | GitLab |
| Red Hat | — | openshift-pipelines/pipelines-console-plugin-rhel9OpenShift Pipelines | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift4/ose-consoleRed Hat OpenShift Container Platform 4 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift4/ose-console-rhel9Red Hat OpenShift Container Platform 4 | Unaffected | Not required | redhat-SADP |
Description
GitLab has remediated an issue in GitLab CE/EE affecting all versions from 18.6 before 18.6.3, and 18.7 before 18.7.1 that could have allowed an unauthenticated user to execute arbitrary code in the context of an authenticated user's browser by convincing the legitimate user to visit a specially crafted webpage.
A flaw was found in GitLab. This Cross-Site Scripting (XSS) vulnerability allows an unauthenticated attacker to execute arbitrary code in the context of an authenticated user's browser. This occurs when a legitimate user is convinced to visit a specially crafted webpage, potentially leading to compromised user sessions or data.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.0 / 10
- Severity
- high
- Provider
- GitLab · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.0 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| GitLab | GitLab | 18.6 to < 18.6.3 (affected · semver)18.7 to < 18.7.1 (affected · semver)Default: unaffected | GitLab · cna |
| Red Hat | OpenShift Pipelines | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift Container Platform 4 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift Container Platform 4 | Default: unaffected | redhat-SADP · adp |
Weaknesses
2- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
6- https://about.gitlab.com/releases/2026/01/07/patch-release-gitlab-18-7-1-released/
- https://access.redhat.com/security/cve/CVE-2025-13761
- RHBZ#2428218 https://bugzilla.redhat.com/show_bug.cgi?id=2428218
- GitLab Issue #582237 https://gitlab.com/gitlab-org/gitlab/-/issues/582237
- HackerOne Bug Bounty Report #3441368 https://hackerone.com/reports/3441368
- https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-13761.json
Provider assertions
3GitLab · cna
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitLab
redhat-SADP · adp
gitlab: GitLab: Cross-Site Scripting Vulnerability Leading to Arbitrary Code Execution
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b4e9da2ebd220327940376ae1865d2a151418038cb5bbd9c57e53f89c779e803
- Ingested
- 23 Sep 2026, 08:37:27 UTC
- Source record
- Official CVE record