mirror of https://github.com/usememos/memos
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
- Add plugin/webhook/validate.go as single source of truth for SSRF protection: reserved CIDR list parsed once at init(), isReservedIP(), and exported ValidateURL() used at registration/update time - Replace unguarded http.Client in webhook.go with safeClient whose Transport uses a custom DialContext that re-resolves hostnames at dial time, defeating DNS rebinding attacks - Call webhook.ValidateURL() in CreateUserWebhook and both UpdateUserWebhook paths to reject non-http/https schemes and reserved/private IP targets before persisting - Strip internal service response body from non-2xx error log messages to prevent data leakage via application logs |
24 hours ago | |
|---|---|---|
| .. | ||
| cron | ||
| 2 months ago | ||
| filter | 3 weeks ago | |
| httpgetter | ||
| idp | ||
| markdown | 2 weeks ago | |
| scheduler | ||
| storage/s3 | ||
| webhook | 24 hours ago | |