Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-3777— Improper Input Validation in huggingface/transformers

Quick assessment

Affected
huggingface huggingface/transformers
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Hugging Face Transformers是Hugging Face开源的为 Jax、PyTorch 和 TensorFlow 打造的先进的自然语言处理。 Hugging Face Transformers 4.49.0及之前版本存在输入验证错误漏洞,该漏洞源于image_utils.py中URL验证不足,可能导致钓鱼攻击。

AI Predicted 7.5 Difficulty: Easy EPSS 0.38% · P29
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-3777

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Improper Input Validation in huggingface/transformers
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
输入验证不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
Hugging Face Transformers 输入验证错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Hugging Face Transformers是Hugging Face开源的为 Jax、PyTorch 和 TensorFlow 打造的先进的自然语言处理。 Hugging Face Transformers 4.49.0及之前版本存在输入验证错误漏洞,该漏洞源于image_utils.py中URL验证不足,可能导致钓鱼攻击。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
huggingface huggingface/transformers unspecified ~ 4.52.1 -

II. Public POCs for CVE-2025-3777

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-3777

请登录查看更多情报信息。

Patches & Fixes for CVE-2025-3777 (1)

Vendor Advisories for CVE-2025-3777 (1)

Same Patch Batch · huggingface · 2025-07-07 · 4 CVEs total

CVE-2025-3263 Regular Expression Denial of Service (ReDoS) in huggingface/transformers
CVE-2025-3262 Regular Expression Denial of Service (ReDoS) in huggingface/transformers
CVE-2025-3264 Regular Expression Denial of Service (ReDoS) in huggingface/transformers

IV. Related Vulnerabilities

V. Comments for CVE-2025-3777

No comments yet


Leave a comment