Cyber Posture

CVE-2025-12716

High

Published: 11 December 2025

Published
11 December 2025
Modified
23 December 2025
KEV Added
Patch
CVSS Score 8.7 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
EPSS Score 0.0011 29.6th percentile
Risk Priority 17 60% EPSS · 20% KEV · 20% CVSS

Description

GitLab has remediated an issue in GitLab CE/EE affecting all versions from 18.4 before 18.4.6, 18.5 before 18.5.4, and 18.6 before 18.6.2 that, under certain conditions could have allowed an authenticated user to perform unauthorized actions on behalf of another…

more

user by creating wiki pages with malicious content.

Mitigating Controls (NIST 800-53 r5)AI

prevent

Filters wiki page outputs before rendering in browsers to prevent execution of malicious scripts that enable unauthorized actions on behalf of victims.

prevent

Validates inputs for wiki pages to detect and block malicious content that could lead to stored XSS exploitation.

prevent

Requires timely patching of the specific GitLab XSS flaw in wiki handling to eliminate the vulnerability.

Security SummaryAI

CVE-2025-12716 is a cross-site scripting (XSS) vulnerability, classified under CWE-79, affecting GitLab Community Edition (CE) and Enterprise Edition (EE) in versions 18.4 prior to 18.4.6, 18.5 prior to 18.5.4, and 18.6 prior to 18.6.2. The flaw enables an authenticated user, under certain conditions, to create wiki pages containing malicious content that could lead to unauthorized actions performed on behalf of another user. It carries a CVSS v3.1 base score of 8.7 (AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N), indicating high severity due to its network accessibility, low attack complexity, requirement for low privileges and user interaction, and cross-scope impact on confidentiality and integrity.

An attacker with authenticated access to a vulnerable GitLab instance can exploit this by crafting and uploading wiki pages with malicious payloads. If another user interacts with the content—such as viewing or editing the wiki page—the payload executes in the victim's browser context, potentially allowing the attacker to perform actions as the victim user. This could result in high-impact confidentiality breaches, like data exfiltration, and integrity violations, such as unauthorized modifications, all without affecting availability.

GitLab has remediated the issue through patch releases, including GitLab 18.6.2, as detailed in their release notes. Security practitioners should upgrade affected instances to GitLab 18.4.6, 18.5.4, or 18.6.2 or later versions. Additional details are available in the GitLab issue tracker (gitlab.com/gitlab-org/gitlab/-/issues/579548) and the originating HackerOne report (hackerone.com/reports/3405832).

Details

CWE(s)

Affected Products

gitlab
gitlab
18.4.0 — 18.4.6 · 18.4.0 — 18.4.6 · 18.5.0 — 18.5.4

MITRE ATT&CK Enterprise TechniquesAI

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1059.007 JavaScript Execution
Adversaries may abuse various implementations of JavaScript for execution.
T1539 Steal Web Session Cookie Credential Access
An adversary may steal web application or service session cookies and use them to gain access to web applications or Internet services as an authenticated user without needing credentials.
Why these techniques?

XSS vulnerability in GitLab wiki enables exploitation of public-facing web application (T1190), JavaScript execution in victim browser context (T1059.007), and web session cookie theft to perform actions on behalf of victim (T1539).

Confidence: HIGH · MITRE ATT&CK Enterprise v19.0

References