# Stored XSS in group issue list

Stored XSS via user full name injected into Vue issue list template, executing script when group issue list renders.

- Payout: $2,000
- Severity: medium
- Program: GitLab
- Found by: mike12
- Disclosed: 2020-11-21
- Write-up quality: 6/10
- Original: https://hackerone.com/reports/859333
- Library page: https://bugbountylibrary.com/r/h1%3A859333
- Tags: area:web domain:web impact:ato impact:data-leak kind:bounty platform:hackerone sev:medium technique:source-review vuln:xss

**Target:** GitLab group issue list (vue_issuables_list feature)
**Root cause:** User-controlled full name is rendered into the Vue issue list template without proper attribute escaping, allowing an injected style/onanimationend attribute to execute.
**Steps:**
1. Run GitLab CE container and enable feature: `gitlab-rails console` then `Feature.enable(:vue_issuables_list)`
2. Set profile full name to `foo style=animation-name:gl-spinner-rotate onanimationend=alert(1)`
3. Create a group, a project in it, and an issue
4. Visit the group issue list to trigger the payload
**How found:** Researcher enabled a non-default feature flag (vue_issuables_list) and tested whether the full name field was safely escaped in the new Vue-rendered issue list, finding attribute injection worked.
**Exploitation:** Attacker sets malicious full name; when any user views the group issue list, the injected onanimationend handler fires, executing JS in their session to perform actions, steal data, or credentials.
**Insight:** When a feature flag swaps a server-rendered view for a Vue-rendered one, re-test stored fields (like profile name) that were previously escaped server-side—the new client template may not escape attributes.

## Proof of concept (copied exactly from the original report)

**Full name payload for stored XSS**

```
foo style=animation-name:gl-spinner-rotate onanimationend=alert(1)
```

