{ "id": "send-subject-line-break", "title": "A line break in the subject (header injection) is refused, not repaired", "given": { "site": "active" }, "request": { "method": "POST", "path": "/v1/send", "headers": { "authorization": "Bearer {{token}}", "idempotency-key": "{{idempotencyKey}}", "content-type": "application/json", "x-intecion-site": "{{host}}" }, "schema": "SendRequest", "body": { "product": "iapl", "productVersion": "1.17.0", "kind": "form-notification", "to": [ "{{recipient}}" ], "replyTo": "visitor@example.org", "senderName": "Kancelaria Example", "subject": "Hello\r\nBcc: victim@example.net", "text": "Hello." } }, "response": { "status": 400, "schema": "Error", "body": { "ok": false, "code": "invalid-request", "field": "subject" } }, "then": { "mails": 0 }, "client": { "retry": false, "reEnrol": false, "status": null } }