HTML injection
The report claims that an editable cell in a report template accepted HTML markup, which was then rendered as HTML rather than plain text. An attacker could inject arbitrary HTML into the report, potentially altering its appearance or content.
Originally disclosed on HackerOne
- Fixed in 2 days
- Disclosed after 3 days
hi team ...
i found HTML i on https://infogram.com/app/#/library step
.. 1- go to https://infogram.com/app/#/library 2- choose Report Templates . 3- Use Report Classic 4- click to edit_data 5- edit cell Employee ID 5- payload
<h1>hacked</h1>
<marquee behavior="scroll" direction="left">hacked</marquee>
6-execute HTML ..
POC .. video on attached
Attachments
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application failed to encode or sanitise user-supplied input before rendering it in the report template.
What the attacker needed
Access to the report editor
How it was found
- Go to the library page.
- Choose Report Templates.
- Use Report Classic.
- Click to edit data.
- Edit the Employee ID cell.
- Enter HTML markup and execute it.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
HTML is the language used to build web pages. Normally, when you type text into a web form, the site should show it as plain text, not treat it as code. Here, the site apparently treated the user's input as HTML, so the user could add headings and scrolling text that the site displayed as if it were part of the page.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.