Vulnerability DatabaseGHSA-3v33-3wmw-3785

GHSA-3v33-3wmw-3785
Python vulnerability analysis and mitigation

Overview

A low severity vulnerability was discovered in yt-dlp (versions 2023.09.24 to 2024.07.02) where its DouyuTV and DouyuShow extractors utilized cdn.bootcdn.net as a fallback source for the crypto-js JavaScript library. The vulnerability was disclosed on July 7, 2024, and patched in version 2024.07.07. This CDN was identified to be controlled by the same malicious actor responsible for the Polyfill JS supply chain attack (GitHub Advisory).

Technical details

The vulnerability stems from the Douyu extractors' dependency on external JavaScript code execution through PhantomJS. When processing Douyu-related URLs, the system would attempt to fetch the crypto-js library first from cdnjs.cloudflare.com, and if unavailable, fall back to cdn.bootcdn.net. The code would then be executed externally using PhantomJS, potentially exposing users to malicious JavaScript code (GitHub Commit).

Impact

The vulnerability's exploitation potential requires three specific conditions to be met simultaneously: the user must have PhantomJS installed, must be processing a douyu.com or douyutv.com URL, and cdnjs.cloudflare.com must be unavailable (forcing the use of the malicious CDN fallback). While no direct exploits have been reported, the potential exists for malicious JavaScript code to be downloaded/cached by yt-dlp or executed by PhantomJS (GitHub Advisory).

Mitigation and workarounds

Users are strongly advised to upgrade to yt-dlp version 2024.07.07, which removes the malicious CDN URL and invalidates any existing Douyu extractor cache data. For users unable to upgrade immediately, two workarounds are available: avoid using the Douyu extractors (--ies default,-douyutv,-douyushow) and uninstall or avoid installing PhantomJS (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66471HIGH8.9
  • PythonPython
  • py3-urllib3
NoYesDec 05, 2025
CVE-2025-66418HIGH8.9
  • PythonPython
  • python-urllib3
NoYesDec 05, 2025
CVE-2025-65958HIGH8.5
  • PythonPython
  • cpe:2.3:a:openwebui:open_webui
NoYesDec 04, 2025
CVE-2025-56427HIGH7.5
  • PythonPython
  • composio
NoNoDec 04, 2025
CVE-2025-63681MEDIUM4.3
  • PythonPython
  • open-webui
NoNoDec 04, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management