Skip to content
XSS Disclosed report Beginner

HTML injection and information disclosure in support panel

A support form on weblate.org and hosted.weblate.org allowed HTML injection via all input fields, causing an image tag to load and send requests to an attacker-controlled server. This exposed the IP addresses and user agent of support panel staff who viewed the poisoned request.

xaleraf4ra Follow

Originally disclosed on HackerOne

Medium 5.8 View original
  • Triaged in 1 hour
  • Fixed in 3 hours
  • Disclosed after 6 days

Hello Weblate Team!

I found HTML injection and information disclosure in support panel

###Description There is a form to weblate.org and hosted.weblate.org to send to support I poisoned the request, where I inserted such payload in all fields:

">{{media:0}}

After that, when my payload got into the support panel, it was reproduced and the picture was uploaded, after that requests were sent to my server

#####So HTML injection is there Further, having examined in detail the requests that came to me on the server, I saw (private) ip addresses of administrators or employees (support panel)

IP Adresses

37.9.65.65
89.187.189.240
95.108.197.9
178.154.167.78

User Agent

User-Agent: Mozilla/5.0 (iPad; CPU OS 12_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Canary

Impact

The vulnerability allows you to execute HTML code in the support panel, also steal personal data of administrators, employees, for example: IP Addresses, which browsers employees use, and so on.

Best regards Bogdan

Attachments

_________________2019-07-03_11-14-51.png
_________________2019-07-03_11-14-51.png From the original on HackerOne
_________________2019-07-03_11-14-59.png
_________________2019-07-03_11-14-59.png

The original report as published on HackerOne, by xaleraf4ra. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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 support form did not sanitise or encode user-supplied input before rendering it in the support panel.

Impact

The vulnerability allows execution of HTML code in the support panel and could expose personal data of administrators and employees, such as IP addresses and browser information.

What the attacker needed

Access to the support form; staff views the support request

How it was found

  1. Submit a support request to weblate.org or hosted.weblate.org with an HTML payload in all fields.
  2. Wait for the payload to appear in the support panel.
  3. Observe that the image loads and requests are sent to the attacker's server.
  4. Inspect the incoming requests to see staff IP addresses and user agent.

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.

A support form let someone type HTML code that was later shown to staff without being cleaned. When staff opened the message, their browser loaded an image from the attacker's server, revealing their IP address and browser details.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More from Weblate

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.