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

CVE-2025-4278 affects 2 listed versions of GitLab in the Dawnsentry catalogue.

8.7CVSS high
None knownexploitation
12%EPSS (next 30 days)
12 June 2025published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

GitLab

2 of 250 listed versions are affected. Fixed in 18.0.2. The newest release, 19.6.2, is not affected.

18.0.1 18.0.0

What it is

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.

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

Published by Gitlab on 12 June 2025. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2025-4278 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.