Low

iSponsorBlockTV: SSRF via Malicious SSDP Response Spoofing in Local Device Discovery

  • Disclosed: 19.11.2026
  • Updated: 19.11.2026 22:17

Summary

iSponsorBlockTV discovers local smart TV devices via SSDP (Simple Service Discovery Protocol). The LOCATION URL from SSDP responses is used to fetch device capabilities without URL validation. A local network attacker can craft a malicious SSDP response with a LOCATION pointing to any internal HTTP service, causing SSRF when the application fetches device information.

Details

In src/iSponsorBlockTV/dial_client.py:92-96, upon receiving an SSDP M-SEARCH response, the code extracts the LOCATION header and makes an HTTP GET request to that URL to retrieve DIAL device description XML. The URL is not validated against expected device IP ranges, expected schemes, or private/internal IP blocklists. Any device on the LAN (or a rogue WiFi access point) can respond to SSDP M-SEARCH queries with a LOCATION pointing to internal services.

Impact

Blind SSRF against internal network services; access to home router admin interfaces, smart home controllers, NAS admin pages, and other local services; potential credential disclosure from fetched responses. It'd be able to either:

  • show a debug log line - __main__ - DEBUG - Discovered device at <attacker controlled URL>, processing... (which is normally disabled and won't be shown in the actual configurator since textual doesn't show logs unless running in dev mode and launching a second terminal to inspect log output), and make a single GET request to an "attacker controlled" url which does not leak any information back to iSponsorBlockTV itself and swallows any sort of error (parsing or an invalid response from not being a real DIAL server) (dial_client.py L131-L133)
  • make single POST request to a partly "attacker controlled" url since it'll always have the suffix /YouTube appended (dial_client.py L139) , with predefined headers {"Origin": "https://www.youtube.com","Content-Type": "application/x-www-form-urlencoded",} (dial_client.py L158-L161) and a predefined payload {"pairingCode": <random 12 digit code>, "theme": "cl"} which also does not leak any information back to iSponsorBlockTV itself and swallows any sort of error (parsing or an invalid response from not being a real DIAL server with a YouTube app running on it) (dial_client.py L162)

Fix

Validate SSDP LOCATION URLs: allow only http{s}:// scheme, extract the IP address, and verify it matches the SSDP sender's IP address. Reject LOCATION values pointing to private IP ranges other than the expected device subnet. (Done on v2.11.0)

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) isponsorblocktv < 2.11.0 2.11.0

References

CVSS score 3.5/10
CVSS vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Weakness (CWE)
CWE-918
Platform
Python (PyPI)
Package
isponsorblocktv
Disclosed
19.11.2026
Updated
19.11.2026 22:17

Sources and licenses

OSV / GitHub Advisory Database - GHSA-56v3-jrq2-4q9m - CC BY 4.0

Vulnerability history: isponsorblocktv

All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.

This is the only known vulnerability of this package.

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.