Skip to content
XSS Disclosed report Beginner

self xss in

The report claims a self-XSS vulnerability on a Quora profile page, where pasting a javascript: link into the browser triggers script execution. The attacker could run arbitrary JavaScript in their own browser session, but the text does not show how this would affect other users.

panther Follow

Originally disclosed on HackerOne

  • Disclosed after 7 days

Hi Quora security team,

there is self XSS vulnerability in https://www.quora.com/profile/Username/

Steps:

copy and paste the link in chrome browser (copy entire link within double quotes "javascript:alert(document.domain)//https://www.quora.com/profile/Username/"

then XSS payload will trigger

please let me know if you need more information.

best

Panther

Attachments

Screenshot_(272).png
Screenshot_(272).png From the original on HackerOne

The original report as published on HackerOne, by panther. 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 browser executes javascript: URLs pasted into the address bar, and the site does not prevent this self-inflicted script execution.

Impact

The script runs only in the user's own browser after they paste it, so there is no demonstrated impact on other users.

What the attacker needed

Victim pastes the link themselves; Chrome browser

How it was found

  1. Copy the provided javascript: link.
  2. Paste the entire link into the Chrome browser address bar.
  3. The XSS payload triggers.

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.

Self-XSS is when a person is tricked into pasting malicious code into their own browser, usually through the address bar or developer console. The code then runs as if it came from the website, but only for that person. This report does not show how an attacker could make someone else paste the code.

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 Quora

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.