Stored iframe injection in Dependency Map tooltips via unsanitized Jira issue summaries
Dependency Map for Jira inserted stored Jira issue-summary values into the data-tooltip-html attribute without escaping, and React Tooltip rendered that HTML through dangerouslySetInnerHTML. An issue editor could store an iframe payload in an issue summary, causing an attacker-controlled document to appear when a viewer opened the affected tooltip, enabling persistent content spoofing and phishing.
- Accepted in under an hour
- Fixed in 7 days
- Disclosed after 34 days
Summary by FindOut InfoVis AB - Marketplace Bug Bounty Program
We confirmed stored HTML injection in work-item hover tooltips and shipped a fix that HTML-encodes untrusted field values. Retest with the original payload no longer creates an iframe.
Summary by jacob0224
Dependency Map for Jira inserted stored Jira issue-summary values into the data-tooltip-html attribute without escaping or sanitization. React Tooltip subsequently rendered that HTML through dangerouslySetInnerHTML. An issue editor could store an <iframe srcdoc> payload in an issue summary, causing an active attacker-controlled document to appear when a Dependency Map viewer opened the affected tooltip. This enabled persistent content spoofing and phishing within the trusted application interface. Retesting with the original payload confirmed that the tooltip no longer creates the iframe or renders its srcdoc content.
Context
Dependency Map for Jira is a Marketplace app listed on the Atlassian Marketplace, and the asset in scope for this report is its cloud listing page. The feature at the centre of the finding is the hover tooltip that the app shows over work items on the dependency map. Those tooltips are built from Jira issue data, including the issue summary, and are rendered as HTML rather than plain text.
The researcher found that the issue summary reached the tooltip markup without escaping, which allowed an issue editor to store an iframe payload that rendered an attacker-controlled document when a Dependency Map viewer opened the affected tooltip.
Setup
The report does not describe the accounts, roles, tools or app versions used. What it does establish is the precondition that matters: the attacker needs the ability to edit a Jira issue summary, and the victim needs to open the Dependency Map and hover the affected work item so that its tooltip renders.
Finding it
The researcher observed that Dependency Map for Jira inserted stored Jira issue-summary values into the data-tooltip-html attribute without escaping or sanitisation. The attribute name itself signals that its content is treated as HTML, and the app then handed that value to React Tooltip, which rendered it through dangerouslySetInnerHTML. A value that a user can control flowing into an HTML sink is the classic stored injection shape, so the researcher tested whether markup in an issue summary would survive into the rendered tooltip.
Exploitation
Step 1: Store the payload in an issue summary
An issue editor sets the issue summary to an <iframe srcdoc> payload. The report does not reproduce the exact payload string, only its form: an iframe whose srcdoc attribute carries an attacker-controlled document.
Step 2: Trigger the tooltip
A Dependency Map viewer opens the map and hovers the affected work item. The stored summary is written into the data-tooltip-html attribute, React Tooltip renders that HTML via dangerouslySetInnerHTML, and the iframe is created.
Step 3: Observe the result
Because the iframe uses srcdoc, the document it displays is supplied entirely by the attacker. The report states that an active attacker-controlled document appeared when the tooltip was opened, giving persistent content spoofing and phishing inside the trusted application interface.
Step 4: Retest after the fix
Retesting with the original payload confirmed that the tooltip no longer creates the iframe or renders its srcdoc content.
Root cause
The app treated the Jira issue summary as trusted HTML. It placed the value into the data-tooltip-html attribute without escaping or sanitisation, and React Tooltip rendered that attribute through dangerouslySetInnerHTML. dangerouslySetInnerHTML is React's explicit opt-out from its normal escaping behaviour: whatever string is passed is parsed as HTML. Because the summary is user-controlled and stored, the injection persisted in the issue and fired for every viewer who hovered the item.
No output encoding or sanitisation step stood between the stored summary and the HTML sink, which is why the payload survived intact.
Impact
The attacker must be able to edit an issue summary, and the victim must view the Dependency Map and hover the affected work item. Under those conditions, the stored payload renders an attacker-controlled document inside the trusted application interface. The report describes the result as persistent content spoofing and phishing. It does not claim script execution in the host page, data theft or account takeover, and the iframe srcdoc document is a separate document from the surrounding app.
The program rated the issue medium severity and awarded a 300.00 USD bounty.
Fix
The vendor confirmed the stored HTML injection in work-item hover tooltips and shipped a fix that HTML-encodes untrusted field values. Retesting with the original payload no longer creates an iframe. The change is output encoding at the point where field values enter the tooltip markup, which neutralises the HTML sink rather than removing the tooltip feature.
Variants to test
- Other tooltip and popover attributes. Look for attributes whose names imply HTML content, such as
data-tooltip-html,data-contentortitlepopulated with markup, and check whether user-controlled fields reach them unencoded. A positive result is markup from a stored field appearing as elements in the rendered tooltip. - Other user-controlled Jira fields. Summaries are one field; descriptions, labels, custom fields and comments may flow into the same rendering path. A positive result is any of them producing an iframe or other active element in the tooltip.
- Other React components using
dangerouslySetInnerHTML. Search the client bundle for the call and trace each argument back to a data source. A positive result is a stored value reaching the sink without encoding. - Attribute-context escapes. If the value is placed inside an attribute, test whether quote characters break out of the attribute and add new event handlers or elements. A positive result is a new attribute or element appearing in the DOM around the tooltip.
srcdocandjavascript:schemes. Where an iframe or link sink exists, test whethersrcdoccontent orjavascript:URLs are accepted. A positive result is an attacker-supplied document rendering or script running when the element is activated.
Hunting notes
This class of bug hides in rich UI components that render server data as HTML: tooltips, popovers, map and graph overlays, and any widget built on a library that accepts HTML strings. During recon, the signals are attribute names containing html, client bundles that reference dangerouslySetInnerHTML, and features that display data from other users, such as issue summaries, in hover previews. The reliable test is to store a distinctive markup payload in a field you control, then view the feature as another user would and check whether the markup is parsed rather than displayed as text.
On impact, the researcher showed a stored payload that persisted in the issue and rendered an active attacker-controlled document for any viewer who hovered the item, framed as content spoofing and phishing within the trusted interface. The vendor confirmed it, shipped output encoding, and the retest with the original payload confirmed the iframe no longer appears.
What happened, in plain words
Dependency Map for Jira is an app sold on the Atlassian Marketplace. It draws a map of the work items in a Jira project and shows their links to each other. When you move your mouse over a work item on that map, a small pop-up box called a tooltip appears with details about the item, including its summary (the short title of a Jira issue).
The app built those tooltips as HTML, the language web pages are written in, instead of plain text. The summary text was dropped into the tooltip without being cleaned first. That meant someone who could edit an issue summary could type HTML code into the title, and the app would treat that code as part of the page rather than as words to display. The researcher used this to plant an <iframe srcdoc> payload: an iframe is a window inside a page that loads another document, and srcdoc lets the author supply that document's content directly. The result was an attacker-controlled document appearing inside the trusted app whenever a viewer hovered the affected work item. The researcher describes the impact as persistent content spoofing and phishing.
The vendor confirmed the bug, shipped a fix that HTML-encodes untrusted field values, and a retest with the original payload showed the iframe no longer appears. The program rated it medium severity and paid a 300.00 USD bounty.
Context
Dependency Map for Jira is listed on the Atlassian Marketplace, and the asset in scope for this report is its cloud listing page:
That URL is the app's shop page on the Marketplace. It is where the app is advertised and installed from, and it is the address the program named as the thing being tested.
The feature at the centre of the finding is the hover tooltip over work items on the dependency map. A tooltip is the little box that appears when the pointer rests on something, like the label that pops up over an icon on a phone home screen. These tooltips are built from Jira issue data, including the issue summary, and they are rendered as HTML rather than plain text. Rendering as HTML means the browser is told "treat this as page structure and code", not "show these characters literally". That distinction is the whole story: text shown literally is harmless, text treated as HTML can create elements.
The researcher found that the issue summary reached the tooltip markup without escaping. Escaping is the act of converting special characters into harmless stand-ins, so that a < typed by a user is displayed as a < instead of starting an HTML tag. Because escaping was missing, an issue editor could store an iframe payload that rendered an attacker-controlled document when a Dependency Map viewer opened the affected tooltip. "Session" here means the logged-in state of the person viewing the map: the browser holds proof that they are signed in, and anything rendered in their page runs with that same trust.
Setup
The report does not describe the accounts, roles, tools or app versions used. What it does establish is the precondition that matters: the attacker needs the ability to edit a Jira issue summary, and the victim needs to open the Dependency Map and hover the affected work item so that its tooltip renders.
In plain terms, two different people are involved. One has permission to change an issue title. The other has permission to look at the dependency map. They do not need to be the same person, and the attacker does not need to touch the victim's computer: the malicious title simply sits in Jira until someone hovers over it.
Finding it
The researcher observed that Dependency Map for Jira inserted stored Jira issue-summary values into the data-tooltip-html attribute without escaping or sanitisation.
Two words need unpacking. An attribute is a named setting written inside an HTML tag, like the colour setting on a car when you order it: <div data-tooltip-html="..."> says "this element carries a value called data-tooltip-html". The name of this attribute ends in html, which is a strong hint that whatever is placed inside it is meant to be interpreted as HTML, not as text. Sanitisation is the stronger cousin of escaping: it inspects a value and strips out anything dangerous, such as scripts or iframes, rather than merely neutralising characters.
The app then handed that value to React Tooltip, a library (a reusable piece of software) that draws tooltips in web apps built with React, a popular framework for building user interfaces. React Tooltip rendered the value through dangerouslySetInnerHTML. That is a React feature whose name is deliberately alarming: normally React escapes anything you insert, but this call tells it "do not escape, parse this string as real HTML". It is the equivalent of a sign saying "remove the safety guard".
A value that a user can control flowing into an HTML sink is the classic stored injection shape. "Sink" is the place where data ends up being used in a dangerous way, like a drain at the bottom of a pipe. "Stored" means the value is saved on the server first, so it affects everyone who later views it, not just the person who typed it. So the researcher tested whether markup in an issue summary would survive into the rendered tooltip.
Exploitation
Step 1: Store the payload in an issue summary
An issue editor sets the issue summary to an <iframe srcdoc> payload. The report does not reproduce the exact payload string, only its form: an iframe whose srcdoc attribute carries an attacker-controlled document.
Why this step: the attacker needs a place where their text is saved and later shown to someone else. The issue summary is exactly that. An iframe is an HTML element that embeds one web page inside another, like a picture-in-picture window on a television. Normally an iframe loads its content from a web address. The srcdoc attribute is different: it lets the author write the inner page's content directly in the attribute, with no external address needed. That makes it a neat way to smuggle a whole document into a single field.
Step 2: Trigger the tooltip
A Dependency Map viewer opens the map and hovers the affected work item. The stored summary is written into the data-tooltip-html attribute, React Tooltip renders that HTML via dangerouslySetInnerHTML, and the iframe is created.
Why this step: the payload does nothing while it sits in the database. It only becomes active when the app reads the summary and places it into the tooltip. Hovering is the trigger, the same way lifting a flap on a calendar reveals what is underneath. The chain is: stored summary, then attribute, then React Tooltip, then dangerouslySetInnerHTML, then a real iframe element in the page.
Step 3: Observe the result
Because the iframe uses srcdoc, the document it displays is supplied entirely by the attacker. The report states that an active attacker-controlled document appeared when the tooltip was opened, giving persistent content spoofing and phishing inside the trusted application interface.
Content spoofing means showing fake content that looks like it belongs to the real site, the way a forged letter looks official because it uses the right letterhead. Phishing means tricking the viewer into doing something harmful, such as entering a password or clicking a link, because the fake content appears inside a page they already trust. "Persistent" means the payload stays in the issue and fires again for every viewer who hovers it, rather than being a one-off trick.
Step 4: Retest after the fix
Retesting with the original payload confirmed that the tooltip no longer creates the iframe or renders its srcdoc content.
Why this step: a fix is only proven by trying the exact thing that worked before. If the same payload now shows up as harmless text, or does not create an iframe, the hole is closed.
Root cause
The app treated the Jira issue summary as trusted HTML. It placed the value into the data-tooltip-html attribute without escaping or sanitisation, and React Tooltip rendered that attribute through dangerouslySetInnerHTML. dangerouslySetInnerHTML is React's explicit opt-out from its normal escaping behaviour: whatever string is passed is parsed as HTML. Because the summary is user-controlled and stored, the injection persisted in the issue and fired for every viewer who hovered the item.
No output encoding or sanitisation step stood between the stored summary and the HTML sink, which is why the payload survived intact. Output encoding is the same idea as escaping, named for where it happens: at the moment the value is written out to the page. Think of a postal service that checks every parcel before delivery; here, nothing checked the parcel, so the contents arrived exactly as sent.
Impact
The attacker must be able to edit an issue summary, and the victim must view the Dependency Map and hover the affected work item. Under those conditions, the stored payload renders an attacker-controlled document inside the trusted application interface. The report describes the result as persistent content spoofing and phishing. It does not claim script execution in the host page, data theft or account takeover, and the iframe srcdoc document is a separate document from the surrounding app.
That last point matters for judging severity. The fake content lives in its own little window, not in the main page, so the report does not claim the attacker could read the viewer's data or take over their account. The harm described is deception: making the viewer believe fake content is part of the real app.
The program rated the issue medium severity and awarded a 300.00 USD bounty.
Fix
The vendor confirmed the stored HTML injection in work-item hover tooltips and shipped a fix that HTML-encodes untrusted field values. Retesting with the original payload no longer creates an iframe. The change is output encoding at the point where field values enter the tooltip markup, which neutralises the HTML sink rather than removing the tooltip feature.
In everyday terms, the app still shows tooltips, but it now converts dangerous characters in the summary into harmless text before placing them in the tooltip. A < typed by a user is displayed as a <, not treated as the start of a tag. The feature stays; the hole closes.
Variants to test
- Other tooltip and popover attributes. Look for attributes whose names imply HTML content, such as
data-tooltip-html,data-contentortitlepopulated with markup, and check whether user-controlled fields reach them unencoded. A positive result is markup from a stored field appearing as elements in the rendered tooltip. - Other user-controlled Jira fields. Summaries are one field; descriptions, labels, custom fields and comments may flow into the same rendering path. A positive result is any of them producing an iframe or other active element in the tooltip.
- Other React components using
dangerouslySetInnerHTML. Search the client bundle for the call and trace each argument back to a data source. A positive result is a stored value reaching the sink without encoding. The client bundle is the collection of JavaScript files the browser downloads to run the app; searching it is like reading the recipe rather than guessing from the taste. - Attribute-context escapes. If the value is placed inside an attribute, test whether quote characters break out of the attribute and add new event handlers or elements. A positive result is a new attribute or element appearing in the DOM around the tooltip. The DOM is the browser's live model of the page, the tree of elements you can inspect in developer tools.
srcdocandjavascript:schemes. Where an iframe or link sink exists, test whethersrcdoccontent orjavascript:URLs are accepted. A positive result is an attacker-supplied document rendering or script running when the element is activated. Ajavascript:URL is a link whose target is code rather than a page, so clicking it runs the code.
Hunting notes
This class of bug hides in rich UI components that render server data as HTML: tooltips, popovers, map and graph overlays, and any widget built on a library that accepts HTML strings. During recon, the signals are attribute names containing html, client bundles that reference dangerouslySetInnerHTML, and features that display data from other users, such as issue summaries, in hover previews. Recon means the early exploration phase, looking around before attacking anything. The reliable test is to store a distinctive markup payload in a field you control, then view the feature as another user would and check whether the markup is parsed rather than displayed as text.
On impact, the researcher showed a stored payload that persisted in the issue and rendered an active attacker-controlled document for any viewer who hovered the item, framed as content spoofing and phishing within the trusted interface. The vendor confirmed it, shipped output encoding, and the retest with the original payload confirmed the iframe no longer appears.
Glossary
- API: a defined way for one piece of software to talk to another, like a waiter taking your order to the kitchen.
- Attribute: a named setting inside an HTML tag, such as
data-tooltip-htmlorsrcdoc. - Client bundle: the JavaScript files a browser downloads to run a web app.
- Content spoofing: showing fake content that looks like it belongs to the real site.
- Dependency map: a diagram of work items and the links between them.
- DOM: the browser's live tree model of the page's elements.
dangerouslySetInnerHTML: a React feature that parses a string as real HTML instead of escaping it.- Escaping / output encoding: converting special characters into harmless stand-ins so they display as text rather than acting as code.
- HTML: the language that describes the structure of web pages.
- HTML injection: getting your own HTML into a page where someone else will see it.
- Iframe: an HTML element that embeds one document inside another.
- Issue summary: the short title of a Jira issue.
- Jira: Atlassian's tool for tracking issues and work items.
javascript:URL: a link whose target is code, so activating it runs the code.- Payload: the piece of code or data an attacker plants to achieve an effect.
- Phishing: tricking someone into doing something harmful, such as entering a password, by making fake content look trustworthy.
- React: a popular JavaScript framework for building user interfaces.
- React Tooltip: a library that draws tooltips in React apps.
- Recon: the early exploration phase of a security test.
- Sanitisation: inspecting a value and stripping out anything dangerous.
- Session: a user's logged-in state, backed by proof the browser holds that they are signed in.
- Sink: the place where data is used in a dangerous way, such as being parsed as HTML.
srcdoc: an iframe attribute that supplies the inner document's content directly.- Stored injection: an injection where the malicious value is saved on the server and affects everyone who later views it.
- Tooltip: the small pop-up box shown when the pointer rests on an element.
- Vendor: the company that makes and sells the software.