Intel

AIKIDO-2024-10453

youtube-transcript-api is vulnerable to XML External Entity (XXE) Attack

XML External Entity (XXE) Attack Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Nov 19, 2024

85

High Risk

This Affects:

pythonyoutube-transcript-api
0.2.0 - 0.6.2
Fixed in 0.6.3
Are you affected? Scan for Free

TL;DR

Affected versions of this package are using xml.etree.fromstring to parse untrusted XML data. This function is known to be vulnerable to XML attacks, such as XML External Entity (XXE) or Billion Laughs, which can lead to data exposure or Denial of Service (DoS).

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

youtube-transcript-api is vulnerable to XML External Entity (XXE) Attack in versions 0.2.0 - 0.6.2.

How to fix this

Upgrade the youtube-transcript-api library to the patch version.