xslt-injection

Identify and exploit XSLT processing weaknesses across engines.

5|1|Updated Apr 20, 2026
One-click install
npx skills add https://github.com/Yliken/ai4 --skill xslt-injection
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xslt-injection
Source: https://github.com/Yliken/ai4/tree/main/skills/xslt-injection
Command: npx skills add https://github.com/Yliken/ai4 --skill xslt-injection

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

XSLT injection testing helps security teams identify and characterize server-side transformation vulnerabilities across different processor families, enabling proactive risk mitigation.

Core Features & Use Cases

  • Fingerprint processor family (Java/Xalan, Saxon, libxslt) and determine applicable exploitation paths.
  • Validate external entities and document() SSRF vectors, including out-of-band scenarios where allowed.
  • Identify EXSLT write capabilities and potential extension surfaces for PHP/Java/.NET stacks.
  • Provide safe, authorization-governed testing guidance with lab-friendly payloads and remediation strategies.

Quick Start

Identify XSLT processors in scope and run targeted payloads to map capabilities.

Frequently Asked Questions about xslt-injection

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

FAQPage Schema
How do I test XSLT injection vulnerabilities across different processor engines?

XSLT injection testing identifies server-side transformation vulnerabilities by applying curated payloads to map processor capabilities, including XXE, document() SSRF, and EXSLT write vectors across Java, .NET, PHP, and libxslt environments.

Can I use XSLT injection payloads to detect XXE and SSRF in PHP applications?

Yes, XSLT injection testing detects XXE and document() SSRF vectors in PHP applications, validating external entity processing and out-of-band scenarios where allowed under an authorized test scope.

Does XSLT injection testing work with both .NET and Java Xalan environments?

XSLT injection testing works with .NET and Java/Xalan environments, fingerprinting the processor family to determine applicable exploitation paths and identify potential extension surfaces for each stack.

What is XSLT processor fingerprinting and how does it help security testing?

XSLT processor fingerprinting identifies the underlying engine, such as Saxon or libxslt, to determine applicable exploitation paths, enabling targeted payload selection for mapping extension surfaces and write capabilities.

Do I need authorized test scope and a curated payload set to safely test XSLT injection?

You need an authorized test scope and access to a transform endpoint to safely test XSLT injection, using a curated payload set to map capabilities across engines without exceeding authorization boundaries.