FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Cross-site scripting – Reflected XSS into HTML context with most tags and attributes blocked | PortSwigger Lab Note #1
How-ToSecurity

Cross-site scripting – Reflected XSS into HTML context with most tags and attributes blocked | PortSwigger Lab Note #1

via Dev.to TutorialKenny Cipher3h ago

target: Lab URL: https://portswigger.net/web-security/cross-site-scripting/contexts/lab-html-context-with-most-tags-and-attributes-blocked Tools Used: browser Burp suite Vulnerability Summary: Type: Reflected Cross-site scripting Description: Steps to Exploit: 1.Input <> to determine whether angle brackets are filtered by the application. 2.Input <script> to check whether this tag is filtered by the WAF. 3.Use the XSS cheat sheet and Burp Intruder to identify which HTML tags are allowed by the filter. 4.Use Intruder again to test which attributes can be used with the allowed tags. 5.Find a way to exploit the XSS vulnerability using the permitted tags and attributes, and craft a working payload. 6.Create a malicious URL and send it to the victim so that the server responds with a hidden script that triggers the exploit. Remediation: Use parameterized queries / prepared statements Use server‑side input validation Escape and sanitize user input Lessons Learned: This lab demonstrates that

Continue reading on Dev.to Tutorial

Opens in a new tab

Read Full Article
0 views

Related Articles

My Journey Building 10 High-Impact Micro-Tools
How-To

My Journey Building 10 High-Impact Micro-Tools

Medium Programming • 20m ago

The Hidden Cost of Learning to Code Online
How-To

The Hidden Cost of Learning to Code Online

Medium Programming • 57m ago

How-To

How to File PIT-38 as an Interactive Brokers User in Poland — Without Losing Your Mind

Medium Programming • 58m ago

Most People Quit Programming Right Before This Happens
How-To

Most People Quit Programming Right Before This Happens

Medium Programming • 3h ago

Why Skill-Based Learning is Quietly Becoming the Real Standard of Education
How-To

Why Skill-Based Learning is Quietly Becoming the Real Standard of Education

Medium Programming • 3h ago

Discover More Articles