xslt-injection

Test XSLT endpoints for injection vulnerabilities and fingerprint processors.

96|1|Updated Jun 4, 2026
One-click install
npx skills add https://github.com/langbyyi/CyberStrikeAI-SRC --skill xslt-injection-langbyyi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xslt-injection
Source: https://github.com/langbyyi/CyberStrikeAI-SRC/tree/main/skills/xslt-injection
Command: npx skills add https://github.com/langbyyi/CyberStrikeAI-SRC --skill xslt-injection-langbyyi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

XSLT injection is a critical web application vulnerability where attacker-controlled XSLT stylesheets are executed server-side, leading to sensitive data leaks, server-side request forgery (SSRF), and remote code execution. This skill eliminates the manual effort of researching processor-specific exploitation techniques, enabling security testers to reliably identify and exploit XSLT injection flaws across all major XSLT processor ecosystems.

Core Features & Use Cases

  • Processor Fingerprinting: Automatically identify the underlying XSLT engine (Xalan, Saxon, libxslt, MSXML) to select the correct exploitation path for the target.
  • Multi-Vector Exploitation: Supports XXE via DTD entities, file read/write via the document() function and EXSLT extensions, and platform-specific remote code execution for PHP, Java, and .NET XSLT processors.
  • Use Case: A security tester assessing a web application with an XML report generation feature that accepts user-supplied stylesheets can use this skill to quickly confirm the vulnerability, enumerate the XSLT processor, and test for data exfiltration or RCE without manual payload research.

Quick Start

Use the xslt-injection skill to test the XSLT transform endpoint at https://target-app.com/generate-report for injection vulnerabilities and identify the underlying XSLT processor.

Frequently Asked Questions about xslt-injection

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

FAQPage Schema
How do I test for XSLT injection vulnerabilities in web applications?

XSLT injection testing identifies vulnerabilities where attacker-controlled XSLT stylesheets are executed server-side. It targets XML transform endpoints, SOAP services, and report generators that process user-supplied input to confirm data exfiltration, SSRF, and remote code execution flaws.

How does XSLT injection lead to remote code execution and SSRF?

XSLT injection enables SSRF and remote code execution when attacker-controlled stylesheets are processed server-side. Exploitation uses DTD entities for XXE, the document() function for file reads, and platform-specific execution paths across Java, .NET, and PHP XSLT processors.

Can I identify the underlying XSLT processor before attempting exploitation?

Processor fingerprinting automatically identifies the underlying XSLT engine, such as Xalan, Saxon, libxslt, or MSXML. Recognizing the specific processor allows security testers to select the correct exploitation path for the target environment.

Does XSLT injection testing work across Java, .NET, and PHP ecosystems?

XSLT injection testing supports multi-vector exploitation across Java, .NET, PHP, and libxslt ecosystems. It applies processor-specific techniques to verify vulnerabilities in web applications regardless of the underlying XSLT implementation.

What is the best way to detect XSLT injection using out-of-band security testing?

The best way to detect XSLT injection out-of-band is by integrating standard security testing tools with the testing workflow. This approach confirms vulnerabilities by monitoring external interactions triggered by processor-specific payloads.

When should I test SOAP services and XML report generators for XSLT injection?

You should test SOAP services and XML report generators for XSLT injection when they accept user-supplied XML or stylesheets. These transform endpoints are highly susceptible to server-side execution of malicious stylesheets leading to data leaks.