Original description
Medusa is an automatic video library manager for TV shows. Versions prior to 1.0.19 are vulnerable to unauthenticated blind server-side request forgery (SSRF). The `testDiscord` request handler in `medusa/server/web/home/handler.py` does not validate the user-controlled `discord_webhook` variable and passes it to the `notifiers.discord_notifier.test_notify` method, then `_notify_discord` and finally `_send_discord_msg` method, which sends a POST request to the user-controlled URL on line 64 in `/medusa/notifiers/discord.py`, which leads to a blind server-side request forgery. This issue allows for crafting POST requests on behalf of the Medusa server. Version 1.0.19 contains a fix for the issue.
Affected software
- Medusa *< 1.0.19 Fixed in: 1.0.19 repository or package match
Details
- Published
- 2023-12-22
- Last modified
- 2026-06-17
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N- CWE
- CWE-918
- EPSS (30-day exploit probability)
- 0.69% (percentile 53)
References
- cve.org/CVE-2023-50258
- nvd.nist.gov/vuln/detail/CVE-2023-50258
- github.com/pymedusa/Medusa/blob/3d656652ab277e47689483912ed7fc443e7023e8/medusa/notifiers/...
- github.com/pymedusa/Medusa/blob/3d656652ab277e47689483912ed7fc443e7023e8/medusa/server/web...
- github.com/pymedusa/Medusa/releases/tag/v1.0.19
- github.com/pymedusa/Medusa/security/advisories/GHSA-3hph-6586-qv9g
- securitylab.github.com/advisories/GHSL-2023-201_GHSL-2023-202_Medusa/
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.