CVE Tools

CVE-2025-4278

Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in GitLab

Public exploit available. Not confirmed exploited in the wild yet. Fixed in 18.0.2.

Published Updated Sources: CVE.org, NVD, BDU

What to do

Find your product and version, then upgrade to the build on the right.

  • GitLabAffected: ≥ 18.0, < 18.0.2Upgrade to: 18.0.2Stated by: CVE record

Versions as the sources state them. Full version matrix after sign-in

Steps

Written by AI from the record
  1. Check your GitLab version and confirm whether you are running any 18.0 release prior to 18.0.2.
  2. If you are on 18.0 before 18.0.2, plan an upgrade immediately to GitLab 18.0.2 or higher.
  3. After upgrading, verify that users can access the new search page without errors and review authentication/session logs around the time of the change.
  4. If upgrading right away is difficult, restrict access to GitLab so only trusted users can reach the affected search functionality, and review for any suspicious low-privilege accounts.

What it is

From the CVE record

An issue has been discovered in GitLab CE/EE affecting all versions starting with 18.0 before 18.0.2. Under certain conditions html injection in new search page could lead to account takeover.

In plain language

Written by AI from the record

CVE-2025-4278 is a cross-site scripting problem in GitLab’s new search page that can let someone inject harmful code and steal another user’s account—this is a real risk for businesses using GitLab 18.0 before 18.0.2, especially if an attacker has a low-level GitLab account and users visit the affected search page.

In GitLab, CVE-2025-4278 is a basic XSS issue that lets an authenticated low-privilege user inject script-related HTML tags via the new search feature; when another user interacts with the compromised search view, the attacker can hijack that user’s account.

If you're affected

  • Account takeover
  • Privileged user compromise
  • Stolen access to repos
  • Potential data exposure

Exploitation

Where each signal puts this CVE on the scale from published to confirmed exploited.

EPSS96th
Public exploit
CISA KEV

Not in the catalog. CISA has not confirmed exploitation.

Public exploits

1 source with a proof of concept or module.

Exploit links, PoCs and Metasploit modules after sign-in
EPSS

11% chance of exploitation activity in the next 30 days, which ranks it in the 96th percentile of scored CVEs.

Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.

Lifecycle

The patch came 210 days before any public exploit.

  1. EPSS band changelow → moderateepss band change
  2. OpenVAS check added
  3. Public exploit / PoCsource: other
  4. Patch availablerecord updated
  5. Publishedweakness classified

Affected products

And 1 more affected product. See all after sign-in

Technical detail

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

Scored 8.7 by NVD.

How it is reached

  • Attack Vector NetworkExploitable remotely over the network without any special conditions
  • Attack Complexity LowNo special conditions — the attack can be reliably reproduced
  • Privileges Required LowRequires basic user-level privileges
  • User Interaction RequiredA user must click a link, open a file, or perform some action

Scope

  • Scope ChangedThe exploit can affect other components (e.g. sandbox escape, host compromise from VM)

Impact if exploited

  • Confidentiality HighTotal information disclosure — all data in the component is compromised
  • Integrity HighTotal loss of integrity — attacker can modify any data in the component
  • Availability NoneNo availability impact

Weaknesses

Sources

Watch the software you run.

My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.

We'll flag the next CVE, public exploit or patch for GitLab, not every advisory. This one: public exploit.