CVE-2025-53371: DiscordNotifications allows DOS, SSRF, and possible RCE through requests to user-controlled URLs
DiscordNotifications is an extension for MediaWiki that sends notifications of actions in your Wiki to a Discord channel. DiscordNotifications allows sending requests via curl and filegetcontents to arbitrary URLs set via $wgDiscordIncomingWebhookUrl and $wgDiscordAdditionalIncomingWebhookUrls. This allows for DOS by causing the server to read large files. SSRF is also possible if there are internal unprotected APIs that can be accessed using HTTP POST requests, which could also possibly lead to RCE. This vulnerability is fixed in commit 1f20d850cbcce5b15951c7c6127b87b927a5415e.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-53371?
CVE-2025-53371 has a medium severity level due to its potential for remote code execution through external URL requests.
How do I fix CVE-2025-53371?
To fix CVE-2025-53371, ensure proper validation of user inputs for the $wgDiscordIncomingWebhookUrl and $wgDiscordAdditionalIncomingWebhookUrl parameters.
What software is affected by CVE-2025-53371?
CVE-2025-53371 affects the MediaWiki DiscordNotifications extension.
Can CVE-2025-53371 lead to unauthorized access?
Yes, if exploited, CVE-2025-53371 can allow attackers to send requests to arbitrary URLs, potentially leading to unauthorized access.
What should I do if I can't update my MediaWiki DiscordNotifications due to CVE-2025-53371?
If updating is not possible, consider disabling the DiscordNotifications extension until a fix can be applied.