Vulnerabilities
Flag URL parameters that reflect XSS characters
kxss is a Go command-line tool that reads URLs from standard input and, for each query parameter, reports which special characters such as quotes and angle brackets are reflected unfiltered in the response.
installgo install github.com/Emoe/kxss@latest
Go · Apache-2.0 license
overview
What kxss does
kxss takes a list of parameterized URLs and reports which special characters reflect back unfiltered. Quotes, angle brackets, and parentheses are XSS raw material, so an echo without escaping is the first signal a parameter is worth testing.
It is triage, not an exploit engine. It appends a marker plus each test character to a parameter, requests the URL, and checks which characters survive intact. Scan a large set first; spend payload work only where reflection exists.
Feed parameterized URLs from gau, a crawler, or qsreplace, then route hits into dalfox or a manual proof of concept. kxss reads URLs on stdin and prints one line per reflecting parameter.
source github.com/Emoe/kxss
use cases
kxss use cases
Triage a URL set for XSS candidates
Scan a large list of parameterized URLs and keep only the ones that reflect special characters unfiltered, so testing focuses on real candidates.
Filter before a heavy XSS scanner
Run kxss first so a slower payload-based scanner like dalfox only sees parameters that already reflect dangerous characters.
Map reflection points across a domain
Collect every parameterized URL on a target, then use kxss to map which parameters echo unescaped characters worth a closer look.
Spot-check a parameter quickly
Pass a small URL list to confirm whether a specific parameter reflects quotes or brackets before writing a manual proof of concept.
reference
kxss inputs and flags
| Name | Type | Flag | Description |
|---|---|---|---|
| url-list | FILE | · | List of URLs to check for reflected, unfiltered special characters. |
Showing key inputs. kxss exposes 1 inputs in total.
example
kxss command examples
# check parameterized URLs for reflected special characters
cat urls.txt | kxss# line format from kxss main.go, not a captured run; example.com URLs are placeholders
URL: https://example.com/search?q=test Param: q Unfiltered: [" ' < >]
URL: https://example.com/product?id=1 Param: id Unfiltered: [< > ( )]
URL: https://app.example.com/page?ref=home Param: ref Unfiltered: [" < > $ | ( ) ` : ; { }]guidance
kxss vs alternatives
Use kxss to triage parameterized URLs for reflected characters before full XSS testing. It flags candidates; it does not confirm exploitability. Pass output to dalfox for payload verification. Feed URLs from gau or a crawler.
| Tool | Pick it when |
|---|---|
| dalfox | Full XSS scanner that crafts and verifies payloads. kxss triages first; dalfox confirms the reflections it flags. |
| findom-xss | Hunts DOM-based XSS sinks in client code. Complements kxss, which catches reflected ones. |
| xspear | Parameter XSS scanner with analysis output. A heavier alternative for confirming what kxss surfaces. |
faq
kxss FAQ
related
More Vulnerabilities tools
commix
Automates OS command injection detection and exploitation.
dalfox
Parameter mining and XSS testing with headless verification.
log4j-scan
Remote scanner for Log4Shell RCE, CVE-2021-44228.
react2shell-scanner
Confirm the RSC and Next.js RCE CVEs on a URL or host list.
sqlmap
Detect and exploit SQL injection on authorized web targets.
dnsreaper
Subdomain takeover scanner with cloud-zone intake.