xss-cross-site-scripting

Select context-appropriate XSS payloads for HTML, attribute, JavaScript, URL, and XML sinks.

241|28|Updated May 20, 2026
One-click install
npx skills add https://github.com/ok-helloworld/vibe-pentest --skill xss-cross-site-scripting-ok-helloworld
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: xss-cross-site-scripting
Source: https://github.com/ok-helloworld/vibe-pentest/tree/main/references/pentest_skills/xss-cross-site-scripting
Command: npx skills add https://github.com/ok-helloworld/vibe-pentest --skill xss-cross-site-scripting-ok-helloworld

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you identify and turn partially-understood, context-dependent injection opportunities into reliable Cross-Site Scripting (XSS) attack paths without relying on basic payload guesses.

Core Features & Use Cases

  • Injection context targeting: Detects and adapts to HTML, attribute, JavaScript, URL/href, XML, and multi-context rendering paths so payloads match the actual sink.
  • Advanced bypass and post-exploitation planning: Covers WAF bypass patterns, CSP bypass techniques (including base-uri and JSONP/allow-list scenarios), and escalation logic for real impact (CSRF via XSS, session fixation, and more).
  • Stored and blind XSS methodology: Provides second-order triggers and practical blind XSS collection approaches when reflection is delayed or not visible.

Quick Start

Use the vibe-pentest agent to test whether user-controlled input reaches XSS sinks, then iterate through context-correct WAF/CSP bypasses and blind/stored strategies until you produce actionable evidence and impact reasoning.

Frequently Asked Questions about xss-cross-site-scripting

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find reliable XSS exploitation paths when basic payload guesses fail?▼

Reliable XSS exploitation requires an injection-context-first workflow that selects context-appropriate payloads for HTML, attribute, JavaScript, URL, and XML sinks. This approach adapts payloads to match the actual sink, turning partially-understood injection opportunities into actionable attack paths.

What is the best way to bypass WAF and CSP protections during XSS testing?▼

Bypassing WAF and CSP during XSS testing involves applying context-correct bypass patterns, including base-uri manipulation and JSONP allow-list exploitation. Advanced techniques also cover mXSS, DOM clobbering, and Trusted Types bypass to circumvent modern client-side security restrictions.

How do I execute stored or blind XSS when the reflection is delayed or hidden?▼

Stored and blind XSS execution uses second-order triggers and practical collection approaches to handle delayed or invisible reflections. This methodology ensures payloads reach vulnerable sinks even when user-controlled input does not immediately render in the HTTP response.

Can I escalate XSS vulnerabilities beyond basic alert boxes to demonstrate real impact?▼

Yes, XSS vulnerabilities can be escalated using post-exploitation methodology to demonstrate real impact. This includes executing CSRF-via-XSS attacks, session fixation, and leveraging XS-Leaks side channels to prove actionable security risks.

Does this XSS testing approach work with modern JavaScript frameworks and DOMPurify?▼

Yes, this approach covers modern framework sinks and includes advanced trick references for bypassing DOMPurify. It handles multi-context rendering paths, mXSS, DOM clobbering, and Trusted Types bypass techniques specific to contemporary JavaScript environments.

Why should I use an injection-context-first workflow instead of standard XSS payload lists?▼

An injection-context-first workflow is necessary because standard payload lists fail against context-dependent sinks. By detecting and adapting to the specific HTML, attribute, or JavaScript context, you ensure payloads match the actual sink and produce reliable exploitation paths.