Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2025-3777
July 07, 2025
Hugging Face Transformers versions up to 4.49.0 are affected by an improper input validation vulnerability in the "image_utils.py" file. The vulnerability arises from insecure URL validation using the "startswith()" method, which can be bypassed through URL username injection. This allows attackers to craft URLs that appear to be from YouTube but resolve to malicious domains, potentially leading to phishing attacks, malware distribution, or data exfiltration. The issue is fixed in version 4.52.1.
Affected Packages
transformers (CONDA):
Affected version(s) >=2.1.1 <4.52.1
Fix Suggestion:
Update to version 4.52.1
https://github.com/huggingface/transformers.git (GITHUB):
Affected version(s) >=v0.1.2 <v4.52.1
Fix Suggestion:
Update to version v4.52.1
transformers (PYTHON):
Affected version(s) >=0.1 <4.52.1
Fix Suggestion:
Update to version 4.52.1
Additional Notes
The description of this vulnerability differs from MITRE.
Do you need more information?
Contact Us
CVSS v4
Base Score:
5.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
PASSIVE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
3.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Improper Input Validation
EPSS
Base Score:
0.1