XSS
Home
Getting Started
Quick Start
Customize Filter Rules
Command Line Tool
Examples
Allow attributes of whitelist tags start with data-
Allow tags start with x-
Parse images in HTML
Filter out HTML tags (keeps only plain text)
Try Online
Resources
Community
Reference
Blogs
Who's using XSS module
简体中文
XSS module online demo
XSS!
Type any HTML here
<h1 id="title">XSS Demo</h1> <p class="text-center"> Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist. </p> <form> <input type="text" name="q" value="test"> <button id="submit">Submit</button> </form> <pre>hello</pre> <p> <a href="http://jsxss.com">http</a> <a href="https://jsxss.com">https</a> <a href="ftp://jsxss.com">ftp</a> <a href="other1">other1</a> <a href="/other2">other2</a> <a href="#">other3</a> </p> <h3>Features:</h3> <ul> <li>Specifies HTML tags and their attributes allowed with whitelist</li> <li>Handle any tags or attributes using custom function</li> </ul> <script type="text/javascript"> alert(/xss/); </script>
Output
spent
0
ms
Preview