CVE-2025-57665
Last modified
CVE-2025-57665 is a medium-severity vulnerability rated 6.4/10 on the CVSS scale. Element Plus Link component (el-link) through 2.10.6 implements insufficient input validation for the href attribute, creating a security abstraction gap that obscures URL-based attack vectors. The component passes user-controlled href values directly to underlying anchor elements without protocol validation, URL sanitization, or security headers. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
Description
Element Plus Link component (el-link) through 2.10.6 implements insufficient input validation for the href attribute, creating a security abstraction gap that obscures URL-based attack vectors. The component passes user-controlled href values directly to underlying anchor elements without protocol validation, URL sanitization, or security headers. This allows attackers to inject malicious URLs using dangerous protocols (javascript:, data:, file:) or redirect users to external malicious sites. While native HTML anchor elements present similar risks, UI component libraries bear additional responsibility for implementing security safeguards and providing clear risk documentation. The vulnerability enables XSS attacks, phishing campaigns, and open redirect exploits affecting applications that use Element Plus Link components with user-controlled or untrusted URL inputs.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Element-Plus | Element-Plus | <= 2.10.6 |
References
- https://github.com/element-plus/element-plus/pull/21711Exploit, Issue Tracking, Patch
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-57665?
How severe is CVE-2025-57665?
How do I fix CVE-2025-57665?
Are you affected by CVE-2025-57665?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
