CVE-2025-57665
MEDIUM 6.4CVSS 3.1Element Plus Link component (el-link) implements insufficient input validation for the href attribute
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.
- Published
- 9 Sep 2025
- Last modified
- 7 Nov 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-116CWE-20CWE-79
- Also known as
- GHSA-5m5x-9j46-h678
- Sources
- NVDJSONOSV GHSA-5m5x-9j46-h678JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 6.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | element-plus | element-pluscpe:2.3:a:element-plus:element-plus:*:*:*:*:*:*:*:* |
<= 2.10.6 | |
| OSV | npm | element-plus | <= 2.11.0 |
References
- https://element-plus.org/en-US/component/link.html · Product, WEB
- https://github.com/element-plus/element-plus · Product, PACKAGE
- https://github.com/element-plus/element-plus/blob/dev/packages/components/link/src/link.vue · Product, WEB
- https://github.com/element-plus/element-plus/pull/21711 · Exploit, Issue Tracking, Patch, WEB
- https://www.npmjs.com/package/element-plus · Product, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-57665 · ADVISORY
- https://github.com/element-plus/element-plus/commit/110d4e1d7e150ccb829771c7319d31ce777d102f · WEB
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 9 Sep 2025)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 9 Sep 2025)