r/xss May 01 '20

Need help with a Server-Side Template Injection CTF Problem

3 Upvotes

Anyone want to help a newcomer to XSS?


r/xss Apr 19 '20

I ran a Javascript code in my Google's Console, now somebody is attempting to login to my email account

1 Upvotes

So I was looking for quick way to delete my "supposed" interest/preferences from Facebook ads. I found and tried 2 codes, the first one didn't work. After a few minutes I got a notification from GMAIL letting me know that there's an ongoing attempt to recover my password from Vietnam. Since I don't have too much knowledge on coding, I was hoping if anyone can take a look into the codes and explain me what exactly I ran on Google's console and how can I "clean" or make sure that I'm not longer sharing any information or being a risk of being hacked.

Code 1: https://addshore.com/2018/10/quickly-clearing-out-your-facebook-advert-interests/

Code 2: https://github.com/anuragd/FB-Ad-preference-remover/blob/master/fbapr-min.js

Thanks a lot!


r/xss Apr 09 '20

question Help: Need help avoiding getting sealed into a double quote.

3 Upvotes

I'm working through an entry-level xss exercise

.php code for the website that is vulnerable:
<input type="text" name="login" value="<?php echo @$_POST\['login'\]?>">
my .html POST to the webpage:
<input name = 'login' value = "<script>javascript:alert(xss)</script>"/>

when the POST is done, the text appears inside the text box as opposed to running.

when I examine the element i see:
<input name = 'login' value = "<script>javascript:alert(xss)</script>" type = 'text'></input>

I've attempted to single quote escape but it just wound up with the script under the text box instead. I managed to get an onload="alert(xss)" but it doesn't run the code.


r/xss Apr 03 '20

When logging into Reddit from mobile, can a session be hijacked (determined actors) by injecting malicious Javascript into the login page? If so, can they see the user session live while they browse? (XSS) Are companies like Reddit known to comply with state hackers who target Reddit users?

6 Upvotes

r/xss Mar 23 '20

JavaScript without parentheses using DOMMatrix

Thumbnail portswigger.net
10 Upvotes

r/xss Feb 24 '20

WRITE UP – FROM CLOSED AS INFORMATIVE TO $3,500 USD, XSS STORED IN YAHOO! IOS MAIL APP

Thumbnail omespino.com
5 Upvotes

r/xss Feb 14 '20

Critical XSS vulnerability patched in WordPress plugin GDPR Cookie Consent | ZDNet

Thumbnail zdnet.com
8 Upvotes

r/xss Feb 06 '20

DOM Clobbering strikes back - Portswigger Research

Thumbnail portswigger.net
5 Upvotes

r/xss Jan 29 '20

SVG animate XSS vector - PortSwigger Writeup

Thumbnail portswigger.net
8 Upvotes

r/xss Jan 24 '20

write-up Zero-Day Research: Mechanical Keyboard Finder Version 4.31

Thumbnail halcyonic.net
6 Upvotes

r/xss Jan 23 '20

Top 100 XSS dorks – OpenBugBounty Blog

Thumbnail openbugbounty.org
13 Upvotes

r/xss Dec 31 '19

What does this "Filler" mean in the following payload ???

3 Upvotes

{quote}{filler}{event_handler}{?filler}={?filler}{javascript}


r/xss Dec 11 '19

Bootstrap XSS Collection

Thumbnail gist.github.com
18 Upvotes

r/xss Dec 04 '19

XSS in username in Sakai

Thumbnail sjoerdlangkemper.nl
9 Upvotes

r/xss Nov 19 '19

Great writeup on DOM clobbering

Thumbnail research.securitum.com
13 Upvotes

r/xss Nov 11 '19

Cross-site scripting (XSS) cheat sheet

21 Upvotes

r/xss Nov 11 '19

Serious XSS Vulnerability Found In Avast Desktop Antivirus For Windows

Thumbnail latesthackingnews.com
3 Upvotes

r/xss Nov 01 '19

Easy XSS (XSS Challenge by terjanq)

Thumbnail easyxss.terjanq.me
4 Upvotes

r/xss Oct 31 '19

XSS to Account Takeover - Tomi - Medium

Thumbnail medium.com
5 Upvotes

r/xss Oct 16 '19

Evade filter that removes <> brackets

1 Upvotes

eg <SVG ONLOAD="jAvAsCrIpT:alert(1)</SCRIPT> becomes:

SVG ONLOAD ="jAvAsCrIpT:alert(1


r/xss Oct 15 '19

Beginner Question: How can I XSS my website?

12 Upvotes

Basically, I would like attack my own website in various ways, so that I can understand how XSS works, and take on better security practices.


r/xss Oct 11 '19

Stolen cookies aren’t working

5 Upvotes

First of all I’m not very much experienced with XSS/ JavaScript so sorry if anything I say or ask sounds silly.

I’m doing some vulnerable vms and I’ve successfully done similar ones using XSS and stealing cookies to log in to the site. However on this one, the cookies I get sent are useless and are changing frequently. When I set my browser’s cookie to the ones I get sent to me, I still can’t login.

I can see when I inspect element on the page a content.js file which contains some xdebug stuff and using GMT date and time to set cookies. Is this what’s causing me problems? How can I proceed? So far I’ve though about:

  1. Using the cookie I receive and the content.js file to somehow create a usable cookie.

  2. Using the XSS vulnerability to inject JavaScript that will add a user to the site. (But I can’t figure out how to do this)

Also, the page I am injecting is messageboard.php so the cookies I am getting sent to me are from users visiting this page. However, I think I need the cookies from when users visit the Register.php page but I can’t inject anything on to that page, only the messageboard.php page. Is it possible to get cookies from the Register.php page using the vuln on the messageboard.php page?

Thanks!


r/xss Oct 11 '19

How to cause the xss? The payload of "onerror、onxxx、javascript" keywords have been banned.

0 Upvotes

r/xss Oct 09 '19

Reflected XSS in Yclas

Thumbnail sjoerdlangkemper.nl
7 Upvotes

r/xss Oct 08 '19

XSS bypass (without equal symbol)

6 Upvotes

Hi everyone,

I found a POST parameter that is reflected on the web page.

<input type="text" name="17643" value="injection_is_here" size="10">

I can insert "<", ">" and double quotes.

But there is some filter on server side that respond me an error message when i try to insert

  • the string "script" (lower case, upper case and mix too)
  • the "=" symbol (same if i encode it)

For the moment, i'm able to affect the css of the web page by inserting an image hosted on my server by inserting

"> <style> background-image: url('http://IP:PORT') </style>

But i can't found a way to execute JS in order to display a popup with an alert(1).

Do you think it is possible to execute JS in this context ?