Reflected XSS on https://apps.topcoder.com/wiki/
The wiki's insert-link dialog reflected user-supplied values from the alias and tooltip parameters into the page without proper encoding. An attacker could craft a link that, when opened by a victim, runs script in the victim's browser.
- Triaged in 18 hours
- Fixed in 6 days
- Disclosed after 7 days
Summary:
Hi :) A reflected XSS occurs on https://apps.topcoder.com/wiki/plugins/tinymce/wysiwyg-insertlink.action when creating wiki pages.
Steps To Reproduce:
A user can create wiki page on https://apps.topcoder.com/wiki/pages/createpage.action?spaceKey=tcwiki. A url can be inserted this page. When you click Insert/Edit url https://apps.topcoder.com/wiki/plugins/tinymce/wysiwyg-insertlink.action?draftType=page&spaceKey=tcwiki¤tspace=tcwiki&formname=createpageform&fieldname=wysiwygcontent&alias= page opens. You can change alias parameter and add tooltip parameter with JS codes. If a victim opens this url, XSS will execute.


Impact
XSS can use to steal cookies or to run arbitrary code on victim's browser.
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 insert-link action echoed the alias and tooltip request parameters into the HTML response without output encoding.
Impact
An attacker could steal the victim's cookies or run arbitrary script in the victim's browser, though the report does not show any defence being tested.
What the attacker needed
Victim opens a crafted link; attacker can build a URL with parameters
How it was found
- Open the create-page form for the wiki space.
- Click Insert/Edit url to open the insert-link dialog.
- Change the alias parameter and add a tooltip parameter containing script.
- Send the crafted URL to a victim; when they open it, the script runs.
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 reflected cross-site scripting (XSS) bug means a web page takes something from the address bar and puts it into the page without cleaning it first. Here the insert-link dialog echoed the alias and tooltip values straight back, so a crafted link could make the victim's browser run the attacker's script. That script could then read the victim's cookies or act as them on the site.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.