Stored XSS via Banzai reference substitution
Published Mar 28, 2024 · Updated May 8, 2026
Stored XSS in GitLab CE/EE before 16.8.5, 16.9 before 16.9.3, and 16.10 before 16.10.1 allows remote authenticated users to run JavaScript. AbstractReferenceFilter checks only the start of a rendered reference, then globally substitutes later matches inside attributes, letting encoded quotes break out into attacker-controlled HTML. A project member who can create a crafted wiki page can execute script when another authenticated user views it, enabling actions with that victim's GitLab privileges.
Summary
What happened
Stored XSS in GitLab CE/EE before 16.8.5, 16.9 before 16.9.3, and 16.10 before 16.10.1 allows remote authenticated users to run JavaScript. AbstractReferenceFilter checks only the start of a rendered reference, then globally substitutes later matches inside attributes, letting encoded quotes break out into attacker-controlled HTML. A project member who can create a crafted wiki page can execute script when another authenticated user views it, enabling actions with that victim's GitLab privileges.
The record
- CVE
- CVE-2023-6371
- Published
- Mar 28, 2024
- Updated
- May 8, 2026
- Vendor
- GitLab
- Product
- GitLab
- Classifications
- CWE-79, T1059.007
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Mar 28, 2024CVE publishedPublication date reported by the CVE source.
- May 8, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0.0 <16.8.5
- Affected versionversion=16.10 <16.10.1
- Affected versionversion=16.9 <16.9.3
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- GitLab wiki stored-XSS reproductionproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo