# Stored XSS on the public Pontoon dashboards: the latest-activity tooltip re-parses a contributor's account address as HTML

Stored XSS in Pontoon's latest-activity tooltip: a contributor email with an HTML payload was concatenated into jQuery .after() markup, executing on public dashboards for any hovering visitor.

- Payout: $3,000
- Severity: high
- Program: Mozilla
- Found by: timhaines
- Disclosed: 2026-10-14
- Write-up quality: 8/10
- Original: https://hackerone.com/reports/3988961
- Library page: https://bugbountylibrary.com/r/h1%3A3988961
- Tags: area:web domain:web impact:ato impact:integrity impact:privesc kind:bounty platform:hackerone sev:high tech:email tech:python technique:chained vuln:xss

**Target:** Pontoon public dashboards latest-activity tooltip (jQuery .after() sink)
**Root cause:** Tooltip markup was built by string-concatenating contributor-supplied data-* attribute values and passing them to jQuery's .after(); only translation text was encoded. Server-side attribute escaping was undone by browser attribute decoding before jQuery read the values.
**Steps:**
1. Sign up locally on Pontoon with email `"<script>alert(document.domain)</script>x"@example.org` and no display name
2. Submit an ordinary translation suggestion so the account appears in latest-activity
3. Visit the public dashboard and hover the activity cell to trigger the tooltip
4. Observe the inline script execute in the viewer's session (signed in or not)
**How found:** Noticed the tooltip built markup by concatenating data-* values into a string passed to jQuery .after(), with only translation text encoded; realized server attribute escaping is reversed by browser attribute decoding, and that accounts without display names render their email, which local signup accepted with HTML metacharacters.
**Exploitation:** Attacker registers with a script-bearing email, submits a suggestion, and waits for any user (translator or locale manager) to hover the dashboard cell; the script runs in their session, allowing approval of the attacker's suggestion or adding the attacker to the locale managers group persistently.
**Escalation:** Chained stored XSS with role-dependent actions: in a translator's session approve the attacker's suggestion; in a locale manager's session add the attacker to the locale managers group, persisting beyond the session.
**Insight:** When a sink reads data-* attributes via jQuery/HTML parsing, server-side attribute escaping is nullified by browser decoding — test fields that fall back to alternate values (e.g. email when display name is empty) and check whether CSP was recently dropped by a dependency upgrade.

