Tag: Cross-Site Scripting (XSS)

Mastering XSS Categories: Precise Detection and PoC Crafting in Modern JS Apps

In my latest deep-dive, I explore the evolving landscape of XSS vulnerabilities in 2025, emphasizing precise categories like Reflected, Stored, DOM-based, and hybrids such as Reflected DOM-XSS and Stored DOM-XSS. Drawing from recent CVEs in Adobe Experience Manager and WordPress plugins, I outline source-sink tracing workflows using tools like Burp’s DOM Invader and browser devtools to detect flaws that server-side scanners miss. Key insights include tailoring PoCs to sinks, for example, using the onerror event handler with an img tag for innerHTML while avoiding non-executing script tags, and testing fragments, client storage, and postMessage channels in SPAs. Recommendations focus on sink-aware payloads, hybrid path coverage, and defenses like Trusted Types and context-appropriate encoding to build reproducible exploits and strong mitigations.