DOM Based Reflected Cross Site Scripting
An outdated version of Swagger UI hosted on the target was vulnerable to DOM-based reflected cross-site scripting via the configUrl parameter. An attacker could craft a link that executes arbitrary scripts in a victim's browser.
- Triaged in 3 days
- Fixed in 9 months
- Disclosed after 11 months
Summary:
I hope you're doing well. I stumbled upon one of your assets. Upon further inspection I realized that the asset was running an outdated version of Swagger. The outdated version of Swagger is well-known for Cross-Site Scripting vulnerabilities so I went ahead and attempted to test it in https://notification-server-v2.sz-my.mtn.com/. Turns out, it's vulnerable to Cross-Site Scripting. To reproduce it, please follow the steps of reproduction. I have not assessed the full impact of this vulnerability but it is highly probable that a malicious actor could exploit to takeover accounts of applications hosted under *.mtn.com. I hope this gets patched soon. If there's some additional information that you need from my side, please let me know. Thank you.
Steps To Reproduce:
[add details for how we can reproduce the issue]
- Go to the following URL https://notification-server-v2.sz-my.mtn.com/index.html?configUrl=https://jumpy-floor.surge.sh/test.json
- Observe the alert pop up like in the screenshot below

Supporting Material/References:
[list any additional material (e.g. screenshots, logs, etc.)]
- [attachment / reference]
Impact
A malicious actor could execute arbitrary scripts
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 outdated Swagger UI page reads the configUrl parameter from the URL and uses it without proper sanitisation, allowing script injection.
Impact
A malicious actor could execute arbitrary scripts, and the reporter suggests it is highly probable that this could lead to account takeover of applications under the domain, though this was not fully assessed.
What the attacker needed
Victim clicks a crafted link
The fix
The outdated Swagger UI should be updated to a patched version.
How it was found
- Visit the Swagger UI page with a crafted configUrl parameter pointing to an external JSON file.
- Observe the alert pop-up demonstrating script execution.
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.
Cross-site scripting (XSS) is when a website runs code an attacker sneaks in, usually through a link. Here, a page that displays API documentation (Swagger) took a setting from the web address and used it in a way that let a malicious link run script. If a victim clicks the crafted link, the script runs as if it came from the real site.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.