vuln-xss

Identify and validate reflected, stored, and DOM-based XSS vulnerabilities in web applications.

Updated Jul 30, 2026
One-click install
npx skills add https://github.com/salmanabdurrahman/pi-pentest-agent --skill vuln-xss
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vuln-xss
Source: https://github.com/salmanabdurrahman/pi-pentest-agent/tree/main/skills/vuln-xss
Command: npx skills add https://github.com/salmanabdurrahman/pi-pentest-agent --skill vuln-xss

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses the challenge of identifying and verifying cross-site scripting (XSS) vulnerabilities in web applications without resorting to dangerous or intrusive exploitation techniques.

Core Features & Use Cases

  • Context-Aware Probing: Automatically determines the correct injection syntax based on the reflection context, such as HTML body, attributes, or JavaScript strings.
  • Safe Validation: Uses inert canary values and non-malicious probes to confirm vulnerabilities while strictly prohibiting cookie theft, keylogging, or credential capture.
  • Use Case: A security researcher needs to verify if a search input field is vulnerable to reflected XSS; this skill guides them through the injection, reflection analysis, and confirmation process using safe alert probes.

Quick Start

Use the vuln-xss skill to validate the search parameter on the target application using the authorized scope and context-aware probes.

Frequently Asked Questions about vuln-xss

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

FAQPage Schema
How do I test for reflected XSS vulnerabilities safely?

To identify reflected XSS vulnerabilities safely, inject inert canary values into web application inputs and analyze the reflection context to confirm if the payload executes, strictly avoiding malicious scripts or cookie theft.

What is the difference between stored and DOM-based XSS testing?

Stored XSS testing involves injecting payloads that persist in the application's database and execute upon retrieval, while DOM-based XSS testing targets client-side JavaScript execution flows where inert probes validate if the DOM environment processes untrusted data.

Can I use this to bypass web application security filters during a pentest?

Yes, you can perform filter bypass testing during a pentest by generating context-specific probes that adapt injection syntax based on the reflection context, allowing you to assess if web application security filters successfully block cross-site scripting attempts.

How do I clean up stored XSS payloads after security assessment?

You must perform immediate cleanup of stored XSS payloads after security assessment by removing all injected canary values and test data from the target application's storage to ensure the web application returns to its pre-testing state.

Does XSS validation work for JavaScript string injection contexts?

Yes, XSS validation works for JavaScript string injection contexts by automatically determining the correct injection syntax based on the specific reflection context, ensuring accurate probe generation and vulnerability evidence collection for web-security pentesting.