CVE-2018-18643
Description
GitLab CE & EE 11.2 and later and before 11.5.0-rc12, 11.4.6, and 11.3.10 have Persistent XSS.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Persistent XSS in GitLab CE/EE via autocomplete when a user's full name contains a malicious script, fixed in 11.5.0-rc12, 11.4.6, and 11.3.10.
Vulnerability
Persistent XSS in GitLab CE/EE versions 11.2 up to and including 11.4.5, 11.3.9, and earlier 11.5.0 release candidates before 11.5.0-rc12. The autocomplete functionality that suggests usernames when typing @ in comments or issues is vulnerable. If a user's full name contains an XSS payload (e.g., eve ) that payload is executed when another user references that user via @mention [1].
Exploitation
An attacker can register or update their profile to include a malicious XSS payload in their full name. When any other user types @ followed by the attacker's name (or the autocomplete suggests it) and submits the comment or issue, the payload executes in the browser of whoever views the rendered content. No special privileges are required beyond the ability to set a user's full name [1].
Impact
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of the victim's browser, leading to session hijacking, credential theft, or other client-side attacks. The XSS is persistent because the malicious name is stored in the database and affects all users who view the mention [1].
Mitigation
Upgrade to GitLab versions 11.5.0-rc12, 11.4.6, or 11.3.10, which fix the issue [2]. No workaround is available for unpatched versions; administrators should apply the patch as soon as possible.
AI Insight generated on May 26, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
6- Range: v1.2.0, v1.2.0pre, v1.2.1, …
- Range: >=11.2, before 11.5.0-rc12, 11.4.6, and 11.3.10
- osv-coords4 versionspkg:apk/chainguard/gitlab-operatorpkg:apk/chainguard/gitlab-operator-chartspkg:apk/chainguard/gitlab-operator-compatpkg:apk/chainguard/gitlab-operator-fips
< 0+ 3 more
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
3- about.gitlab.com/2018/11/19/critical-security-release-gitlab-11-dot-4-dot-6-released/mitrex_refsource_MISC
- about.gitlab.com/blog/categories/releases/mitrex_refsource_MISC
- gitlab.com/gitlab-org/gitlab-ce/issues/53385mitrex_refsource_MISC
News mentions
0No linked articles in our index yet.