🚀 Submit a Challenge — SecDim AppSec Village CTF at DEF CON 34 and Win a ROG Xbox Ally

Implementing Secure By Patching, Secure By Design and Secure By Default

Blog1 min read

Addressing security vulnerabilities can be approached in various ways, each with its own strengths and initial time investment. In my latest video, I tackle a basic security vulnerability: reflected XSS. First, I demonstrate how to exploit it, and then I show three approaches to fix it: secure by patching (spot patching), secure by design, and secure by default.

It’s worth noting that “secure by design” and “secure by default” don’t have rigid definitions and are used in various security contexts. My goal here is to highlight the differences between these methods in the realm of secure coding.

Try out the same exercise I used in the video here: XSS.py.

Questions or comments? Discuss this post on SecDim Community â†’

Try it yourself

Find, Hack and Fix Your First Vulnerability

Reading about security bugs is one thing — fixing one is how the skill sticks. Play a free challenge from the wargame, no setup required.