6.4
MEDIUM CVSS 3.1
CVE-2025-57665
Element Plus Link Component URL Injection Vulnerability
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.

INFO

Published Date :

Sept. 9, 2025, 6:15 p.m.

Last Modified :

Oct. 17, 2025, 7:49 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2025-57665 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Element-plus element-plus
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM 134c704f-9b21-4f2e-91b3-4a467353bcc0
Solution
Update Element Plus Link component to validate and sanitize href attributes to prevent malicious URL injection.
  • Update Element Plus Link component to the latest secure version.
  • Validate all href inputs for dangerous protocols.
  • Sanitize user-provided URLs before use.
  • Implement security headers for added protection.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2025-57665.

URL Resource
https://element-plus.org/en-US/component/link.html Product
https://github.com/element-plus/element-plus Product
https://github.com/element-plus/element-plus/blob/dev/packages/components/link/src/link.vue Product
https://github.com/element-plus/element-plus/pull/21711 Exploit Issue Tracking Patch
https://www.npmjs.com/package/element-plus Product
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-57665 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-57665 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-57665 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Oct. 17, 2025

    Action Type Old Value New Value
    Added CPE Configuration OR *cpe:2.3:a:element-plus:element-plus:*:*:*:*:*:*:*:* versions up to (including) 2.10.6
    Added Reference Type MITRE: https://element-plus.org/en-US/component/link.html Types: Product
    Added Reference Type MITRE: https://github.com/element-plus/element-plus Types: Product
    Added Reference Type MITRE: https://github.com/element-plus/element-plus/blob/dev/packages/components/link/src/link.vue Types: Product
    Added Reference Type MITRE: https://github.com/element-plus/element-plus/pull/21711 Types: Exploit, Issue Tracking, Patch
    Added Reference Type MITRE: https://www.npmjs.com/package/element-plus Types: Product
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Sep. 22, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
    Added CWE CWE-79
    Added CWE CWE-601
  • New CVE Received by [email protected]

    Sep. 09, 2025

    Action Type Old Value New Value
    Added 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.
    Added Reference https://element-plus.org/en-US/component/link.html
    Added Reference https://github.com/element-plus/element-plus
    Added Reference https://github.com/element-plus/element-plus/blob/dev/packages/components/link/src/link.vue
    Added Reference https://github.com/element-plus/element-plus/pull/21711
    Added Reference https://www.npmjs.com/package/element-plus
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 6.4
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact