CVE-2025-13761: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitLab
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.
Security readout for executives and security teams
Plain-English summary
This GitLab issue is a high-severity cross-site scripting vulnerability. An unauthenticated attacker could trick a legitimate, logged-in user into visiting a crafted webpage, causing attacker-controlled code to run in that user's browser context. The sources do not show CISA KEV listing or confirmed active exploitation.
Executive priority
Treat this as a high-priority patching item for affected GitLab deployments, especially where privileged users access sensitive repositories. It requires user interaction, but successful exploitation could compromise confidentiality and integrity in a logged-in user's browser session.
Technical view
CVE-2025-13761 is CWE-79 in GitLab CE/EE affecting versions 18.6 before 18.6.3 and 18.7 before 18.7.1. CVSS 3.1 is 8.0 with network attack vector, high complexity, no privileges, required user interaction, changed scope, and high confidentiality and integrity impact.
Likely exposure
Exposure is likely limited to GitLab CE/EE deployments running 18.6.x below 18.6.3 or 18.7.x below 18.7.1. The source bundle marks default status as unaffected outside those ranges.
Exploitation context
The documented scenario requires social engineering: an unauthenticated attacker must convince an authenticated GitLab user to visit a specially crafted webpage. KEV is false in the supplied data, and no cited source confirms active exploitation.
Researcher notes
The public summary identifies XSS but the linked GitLab issue and HackerOne report are marked permissions-required in the bundle. Avoid assuming payload mechanics, affected components, or exploit maturity beyond the CVE description and GitLab version ranges.
Mitigation direction
Upgrade GitLab 18.6.x deployments to 18.6.3 or later.
Upgrade GitLab 18.7.x deployments to 18.7.1 or later.
Check GitLab's patch release guidance for any additional vendor instructions.
Prioritize instances used by administrators or high-privilege project maintainers.
Validation and detection
Inventory all self-managed GitLab CE/EE instances and record exact versions.
Confirm no production instance runs 18.6 before 18.6.3.
Confirm no production instance runs 18.7 before 18.7.1.
Review GitLab release notes and vendor advisories for updated remediation guidance.
Check security monitoring for suspicious browser-session or account activity around GitLab users.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-79: User-session and phishing behavior lookup
Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
5Timeline events
2ADP providers
7Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-79 · source CWE mapping
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.