xss-testing

Validate XSS vulnerabilities across HTML, JavaScript, and URI contexts.

1|Updated Mar 4, 2026
One-click install
npx skills add https://github.com/dungsnowaxe/prometheus-red-team-bot --skill xss-testing-dungsnowaxe
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xss-testing
Source: https://github.com/dungsnowaxe/prometheus-red-team-bot/tree/main/promptheus/skills/dast/xss-testing
Command: npx skills add https://github.com/dungsnowaxe/prometheus-red-team-bot --skill xss-testing-dungsnowaxe

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill systematically identifies and validates Cross-Site Scripting (XSS) vulnerabilities, including reflected, stored, and DOM-based types, ensuring web applications are protected against script injection attacks.

Core Features & Use Cases

  • Comprehensive XSS Detection: Tests for various XSS vectors like basic script tags, event handlers, attribute breakouts, and URI schemes.
  • Contextual Analysis: Differentiates between XSS in HTML body, attributes, JavaScript, and URIs.
  • Use Case: When auditing a web application, use this Skill to test all user input fields, URL parameters, and form submissions for potential XSS vulnerabilities, providing detailed evidence for each finding.

Quick Start

Use the xss-testing skill to scan the endpoint '/search' for reflected XSS vulnerabilities.

Frequently Asked Questions about xss-testing

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

FAQPage Schema
How do I test web application endpoints for reflected and stored XSS vulnerabilities?

To test for XSS vulnerabilities, you scan user input fields, URL parameters, and form submissions to analyze input reflection and script execution indicators. This structured testing methodology validates reflected, stored, and DOM-based XSS across HTML body, attributes, JavaScript, and URI contexts.

What is the difference between DOM-based XSS and reflected XSS in web application security testing?

In XSS security testing, reflected XSS occurs when input is immediately echoed back, while DOM-based XSS arises from client-side JavaScript manipulating the DOM. This testing methodology differentiates these types by analyzing user input reflection and script execution indicators across multiple execution contexts.

How do I identify cross-site scripting flaws in JavaScript and HTML attribute contexts?

To identify cross-site scripting flaws in JavaScript and HTML attributes, you test for attribute breakouts, event handlers, and URI schemes. Contextual analysis validates script injection vectors across HTML body, attributes, JavaScript, and URIs, mapping findings to specific CWEs like CWE-79 and CWE-83.

Can I use DAST vulnerability scanning to map cross-site scripting findings to CWE-79?

Yes, DAST vulnerability scanning can map cross-site scripting findings to CWE-79. This methodology validates script injection attacks by analyzing user input reflection, differentiating XSS types, and mapping evidence to specific CWEs like CWE-79 and CWE-83 for detailed security auditing.

What XSS vectors should I check for when auditing web application security?

When auditing web application security, check for XSS vectors including basic script tags, event handlers, attribute breakouts, and URI schemes. Comprehensive detection tests these vectors across multiple contexts to provide detailed evidence for each identified vulnerability.

Why does vulnerability scanning fail to detect DOM-based XSS in some web applications?

Vulnerability scanning may fail to detect DOM-based XSS if it does not properly analyze client-side script execution indicators and user input reflection within JavaScript contexts. Effective detection requires a structured testing methodology that validates script injection across DOM execution environments.