# Stored XSS in Value sorting metadata allows a Jira Viewer to execute JavaScript in an administrator's Dependency Map frame

Jira Viewer stored attacker-controlled tooltip property in Dependency Map fieldSortOrder config; rendered as raw HTML on hover, executing JS in admin's frame via CSP-allowed Object Store iframe srcdoc.

- Payout: $900
- Severity: high
- Program: FindOut InfoVis
- Found by: jacob0224
- Disclosed: 2026-09-29
- Write-up quality: 6/10
- Original: https://bugcrowd.com/disclosures/b468eb7d-b351-494f-b438-19e8abe69826/stored-xss-in-value-sorting-metadata-allows-a-jira-viewer-to-execute-javascript-in-an-administrator-s-dependency-map-frame
- Library page: https://bugbountylibrary.com/r/bc%3Ab76de9bc-1016-4400-9f69-81764545d90e
- Tags: area:web domain:web impact:ato impact:integrity kind:bounty platform:bugcrowd sev:high technique:source-review vuln:xss

**Target:** Dependency Map for Jira Cloud app, Value sorting tooltip component
**Root cause:** The tooltip component rendered the attacker-supplied tooltip property from fieldSortOrder as raw HTML instead of text, and the app accepted arbitrary extra properties in the sorting config rather than only expected fields (id, asc).
**Steps:**
1. As a Jira Viewer, save a map's fieldSortOrder config with an extra tooltip property containing an `iframe srcdoc` payload pointing to an attacker-controlled Atlassian Object Store URL allowed by CSP.
2. Victim opens Value sorting and hovers the affected criterion.
3. Tooltip renders the value as HTML; iframe srcdoc loads attacker JS in the Dependency Map frame origin.
**How found:** Researcher noticed the sorting config accepted extra properties beyond expected fields and that the tooltip rendered stored values as HTML; tested hover rendering and CSP-allowed iframe srcdoc for execution.
**Exploitation:** Attacker with Jira Viewer role stores malicious tooltip property in fieldSortOrder; when an admin hovers the criterion in Value sorting, the tooltip renders raw HTML and an iframe srcdoc loads JS from a CSP-permitted Atlassian Object Store URL, giving same-origin script execution in the Dependency Map frame.
**Insight:** When an app stores structured config (sort orders, filters), check whether extra attacker-controlled properties survive into UI renderers like tooltips; CSP-allowed origins (e.g. Atlassian Object Store) can host the payload to bypass script-src restrictions.

