Deleted messages still have embed metadata and API still reports the message as accessible
when a message is deleted, the client hides the text content, but the backend keeps the embed. the backend allows clients to perform PUT updates against deleted message IDs, returning {ok: 'true'} and updating the stored metadata instead of rejecting the request on a deleted record.
allows user to bypass deleted messages.
could affect users who’ve accidently sent personal information, and tried to delete it.
how to reproduce:
post a message containing a link that generates a preview card (e.g., https://example.com).
delete the message
query the channel history endpoint via
GET /api/servers/{server}/channels/{channel}/messages?limit=50
console shows that while the message object returns "is_deleted": true and "content": "", the embeds array still contains the full original preview metadata (URL, title, description, and preview links).
Send a PUT request to
/api/servers/{server}/channels/{channel}/messages/{deleted_message_id}/embeds
the server returns {ok: 'true'}, confirming that state modifications are still permitted on deleted records.
Log in to comment and vote
No comments yet
Be the first to share your thoughts.