Ghost/ghost/email-service/test
Ronald Langeveld 0029c444ad
Added test email rate limiting (#17505)
refs https://github.com/TryGhost/Product/issues/3651

- This is a security fix that addresses an issue causing malicious users
to abuse the test / preview email API endpoint.
- We have multiple procedures in place now to limit such users.
- First, we now only allow one email address to be passed into the
`sendTestEmail` method. This method only have one purpose, which is to
compliment the test email functionality within the Editor in Admin and
therefore have no reason to send to more than one email address at a
time.
- We then add an additional rate limiter to prevent a user from making
multiple requests, eg via a script.
- The new imposed limit is 10 test emails per hour.
2023-07-27 08:46:50 +02:00
..
utils
.eslintrc.js
batch-sending-service.test.js Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
email-controller.test.js Added test email rate limiting (#17505) 2023-07-27 08:46:50 +02:00
email-event-processor.test.js Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
email-event-storage.test.js Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
email-renderer.test.js 🐛 Fixed image rendering in Outlook email client (#17475) 2023-07-24 18:33:56 -07:00
email-segmenter.test.js Retain newsletter subscriptions on suppression (#17373) 2023-07-24 10:47:57 +01:00
email-service.test.js Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
mailgun-email-provider.test.js Added bulkEmail.batchSize option to configure batch size 2023-06-26 12:57:44 +02:00
sending-service.test.js Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00