CVE-2021-32735
PHP vulnerability analysis and mitigation

Overview

A cross-site scripting (XSS) vulnerability was discovered in GitLab CE/EE versions 13.11.6, 13.12.6, and 14.0.2, where HTML injection was possible via the full name field. The vulnerability was disclosed on July 2, 2021, and assigned identifier CVE-2021-32735. The issue affected multiple GitLab versions and allowed attackers to inject malicious HTML code through user input (GitLab Advisory).

Technical details

The vulnerability stems from insufficient HTML escaping in GitLab's user interface where the full name field was not properly sanitized before being displayed. This allowed attackers to inject arbitrary HTML and JavaScript code that would be executed when other users viewed the affected content. The vulnerability received a CVSS score of 3.5, indicating moderate severity (CISA Bulletin).

Impact

The vulnerability could allow attackers to perform cross-site scripting attacks against other users viewing the malicious content. Successful exploitation could lead to session hijacking, credential theft, or other client-side attacks within the context of the GitLab application (GitLab Advisory).

Exploitability

The vulnerability required an attacker to have a valid GitLab account to exploit, as they needed to be able to modify their own full name field. Once the malicious content was injected, it would affect any other user who viewed the attacker's profile or content containing their full name (CISA Bulletin).

Mitigation and workarounds

The vulnerability was patched in GitLab versions 13.11.6, 13.12.6, and 14.0.2. Users are advised to upgrade to these or later versions to protect against this vulnerability. The fix involved implementing proper HTML escaping for the full name field to prevent injection of malicious code (GitLab Advisory).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-59989CRITICAL9.2
  • PHP logoPHP
  • phalcon/cphalcon
NoYesAug 21, 2026
CVE-2026-63135HIGH8.2
  • PHP logoPHP
  • yourls/yourls
NoYesAug 21, 2026
GHSA-p2ch-c2c3-4xm5MEDIUM6.1
  • PHP logoPHP
  • winter/wn-backend-module
NoYesAug 20, 2026
GHSA-8hgv-xc77-jmcrMEDIUM5.1
  • PHP logoPHP
  • getgrav/grav
NoYesAug 21, 2026
GHSA-hq84-x37p-j6q5MEDIUM4.5
  • PHP logoPHP
  • winter/wn-backend-module
NoYesAug 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management