CVE-2025-12029CWE-79cross-site-scripting

CVE-2025-12029

High · published December 11, 2025

CVSS v3.1
8.0
EPSS
1%
Percentile
43.8
In the wild
Unconfirmed
What it is

⚡ An unauthenticated user can potentially perform unauthorized actions through a sneaky script injection in the Swagger UI! Think of it like a restaurant where someone can sneak in a fake menu, convincing the staff to serve a dish that wasn’t ordered — that’s the kind of trouble this vulnerability can brew! An attacker could exploit this vulnerability to manipulate the application and act as another user, leading to unauthorized data access or actions. This could result in data leaks, unauthorized changes, or even affecting the integrity of your project. The fallout could be absolutely devastating!

Put simply

Think of it like a restaurant where someone can sneak in a fake menu, convincing the staff to serve a dish that wasn’t ordered — that’s the kind of trouble this vulnerability can brew! This vulnerability allows unauthenticated users to inject malicious external scripts into the Swagger UI of GitLab, exploiting weaknesses in the application to perform unauthorized actions on behalf of other users.

What to do

An attacker could exploit this vulnerability to manipulate the application and act as another user, leading to unauthorized data access or actions. This could result in data leaks, unauthorized changes, or even affecting the integrity of your project. The fallout could be absolutely devastating! To mitigate this risk, patch GitLab to version 18.4.6, 18.5.4, or 18.6.2 immediately. Review your Swagger UI settings to ensure proper security controls are in place. Regularly audit your application for similar vulnerabilities. You've got this! With these steps, you'll have your GitLab environment secured in no time! 🛡️

The record
Technical detail
CVSS v3.1
8.0 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00527 · 43.8th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2025-12-11T13:15Z
Affected products (6)
ProductVersionsFixed in
gitlab/gitlab≥ 15.11.0, < 18.4.618.4.6
gitlab/gitlab≥ 15.11.0, < 18.4.618.4.6
gitlab/gitlab≥ 18.5.0, < 18.5.418.5.4
gitlab/gitlab≥ 18.5.0, < 18.5.418.5.4
gitlab/gitlab≥ 18.6.0, < 18.6.218.6.2
gitlab/gitlab≥ 18.6.0, < 18.6.218.6.2
References (3)
EPSS history
Timeline
  • 11 DEC 07:32Z
    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitLab
    cvelistv5