CVE-2023-6371: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitLab
An issue has been discovered in GitLab CE/EE affecting all versions before 16.8.5, all versions starting from 16.9 before 16.9.3, all versions starting from 16.10 before 16.10.1. A wiki page with a crafted payload may lead to a Stored XSS, allowing attackers to perform arbitrary actions on behalf of victims.
Security readout for executives and security teams
Plain-English summary
GitLab disclosed a stored cross-site scripting flaw in wiki pages. A user who can place a crafted wiki page could cause another user’s browser to perform actions as that victim. For organizations using self-managed GitLab, this can threaten source code confidentiality and project integrity if users view malicious wiki content.
Executive priority
Treat as high priority for self-managed GitLab because successful exploitation can let an attacker act as trusted users in the browser. Patch promptly, especially where GitLab stores sensitive source code, deployment secrets, or issue data.
Technical view
CVE-2023-6371 is CWE-79 stored XSS in GitLab CE/EE. It affects all versions before 16.8.5, 16.9 before 16.9.3, and 16.10 before 16.10.1. CVSS 3.1 is 8.7: network reachable, low complexity, low privileges required, user interaction required, changed scope, high confidentiality and integrity impact, no availability impact.
Likely exposure
Exposure is most relevant to self-managed GitLab CE/EE instances with project wikis enabled and users who can create or edit wiki pages. The attacker needs some GitLab privileges, but a victim must view the malicious content for impact.
Exploitation context
The CVE record and linked HackerOne report indicate a crafted wiki page can trigger stored XSS. The source bundle does not show CISA KEV listing or confirmed active exploitation in the wild, so active exploitation should not be assumed.
Researcher notes
The public bundle references a GitLab issue requiring permissions and a HackerOne report tagged with technical description and exploit. Do not infer unauthenticated exploitation: the CVSS vector includes PR:L and UI:R. Evidence supports stored XSS through crafted wiki content, not server-side code execution.
Mitigation direction
Upgrade GitLab CE/EE to 16.8.5, 16.9.3, 16.10.1, or later supported releases.
Prioritize internet-facing or broadly accessible self-managed GitLab instances.
Review vendor guidance and release notes before applying compensating controls.
Restrict wiki edit permissions where business operations allow.
Validation and detection
Inventory all self-managed GitLab CE/EE instances and record exact versions.
Confirm no instance runs versions before 16.8.5, 16.9.3, or 16.10.1.
Identify projects with wikis enabled and broad edit access.
Review GitLab security advisories and issue references for updated vendor details.
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.
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.
1CVSS vectors
3Timeline events
2ADP providers
3Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
CVSS vector scores
1 official score
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.