CVE-2025-57665

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:element-plus:element-plus:*:*:*:*:*:*:*:*

History

17 Oct 2025, 19:49

Type Values Removed Values Added
References () https://element-plus.org/en-US/component/link.html - () https://element-plus.org/en-US/component/link.html - Product
References () https://github.com/element-plus/element-plus - () https://github.com/element-plus/element-plus - Product
References () https://github.com/element-plus/element-plus/blob/dev/packages/components/link/src/link.vue - () https://github.com/element-plus/element-plus/blob/dev/packages/components/link/src/link.vue - Product
References () https://github.com/element-plus/element-plus/pull/21711 - () https://github.com/element-plus/element-plus/pull/21711 - Exploit, Issue Tracking, Patch
References () https://www.npmjs.com/package/element-plus - () https://www.npmjs.com/package/element-plus - Product
First Time Element-plus
Element-plus element-plus
CPE cpe:2.3:a:element-plus:element-plus:*:*:*:*:*:*:*:*

22 Sep 2025, 16:15

Type Values Removed Values Added
CWE CWE-601
CWE-79
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.4

09 Sep 2025, 18:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-09-09 18:15

Updated : 2025-10-17 19:49


NVD link : CVE-2025-57665

Mitre link : CVE-2025-57665

CVE.ORG link : CVE-2025-57665


JSON object : View

Products Affected

element-plus

  • element-plus
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

CWE-601

URL Redirection to Untrusted Site ('Open Redirect')