JSONP endpoint abuse and Same-Origin Method Execution (SOME) — exploiting JSONP callbacks for data leakage (XSSI), callback-parameter XSS, and SOME attacks where an attacker-controlled callback name invokes sensitive same-origin methods via a chained gadget. Tier 1. Use for endpoints with a JSONP/callback parameter.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Some Jsonp?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anandjogawade-some-jsonp)
---
name: some-jsonp
description: JSONP endpoint abuse and Same-Origin Method Execution (SOME) — exploiting JSONP callbacks for data leakage (XSSI), callback-parameter XSS, and SOME attacks where an attacker-controlled callback name invokes sensitive same-origin methods via a chained gadget. Tier 1. Use for endpoints with a JSONP/callback parameter.
---
# JSONP Abuse & Same-Origin Method Execution (SOME)
JSONP callbacks are a recurring source of XSS, data leakage, and SOME gadget chains.
## Trigger phrases
`jsonp, callback parameter, same origin method execution, some attack, jsonp xss`
## Method
1. Find endpoints with a `callback`/`jsonp` parameter.
2. **Callback XSS:** inject script into the callback name if reflected unescaped (`callback=alert(1)//`) → reflected XSS.
3. **Data leakage (XSSI):** define your own callback to capture authenticated JSON (→ `xssi`).
4. **SOME:** set the callback to a chained reference to a sensitive same-origin method (e.g., a function that approves/deletes), then trigger via a framed/opened flow so the page calls it in the victim's context — bypasses CSP where JSONP is allowlisted.
5. Confirm execution/leak with a victim session.
## Escalation
XSS, authenticated data theft, or same-origin privileged method invocation (CSP-bypassing).
## Backend & tooling
Preferred Kali path or headless browser for client-side execution/evidence; if a Burp MCP is present, proxy traffic for visibility and send PoCs to Repeater (see `zazy-orchestrator`).
## Verification (background, before reporting)
Reproduce in a real browser / second context and confirm impact before marking CONFIRMED; use OAST for blind cases. Report true positives only.
## Evidence
The JSONP endpoint, the callback manipulation, and the XSS/leak/SOME result.