Skip to content

Commit 460221c

Browse files
1 parent ef9916c commit 460221c

File tree

2 files changed

+78
-45
lines changed

2 files changed

+78
-45
lines changed
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
{
2+
"schema_version": "1.4.0",
3+
"id": "GHSA-5m5x-9j46-h678",
4+
"modified": "2025-09-10T20:41:39Z",
5+
"published": "2025-09-09T18:31:25Z",
6+
"aliases": [
7+
"CVE-2025-57665"
8+
],
9+
"summary": "Element Plus Link component (el-link) implements insufficient input validation for the href attribute",
10+
"details": "Element Plus Link component (el-link) prior to 2.11.0 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.",
11+
"severity": [
12+
{
13+
"type": "CVSS_V4",
14+
"score": "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"
15+
}
16+
],
17+
"affected": [
18+
{
19+
"package": {
20+
"ecosystem": "npm",
21+
"name": "element-plus"
22+
},
23+
"ranges": [
24+
{
25+
"type": "ECOSYSTEM",
26+
"events": [
27+
{
28+
"introduced": "0"
29+
},
30+
{
31+
"fixed": "2.11.0"
32+
}
33+
]
34+
}
35+
]
36+
}
37+
],
38+
"references": [
39+
{
40+
"type": "ADVISORY",
41+
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-57665"
42+
},
43+
{
44+
"type": "WEB",
45+
"url": "https://github.com/element-plus/element-plus/pull/21711"
46+
},
47+
{
48+
"type": "WEB",
49+
"url": "https://github.com/element-plus/element-plus/commit/110d4e1d7e150ccb829771c7319d31ce777d102f"
50+
},
51+
{
52+
"type": "WEB",
53+
"url": "https://element-plus.org/en-US/component/link.html"
54+
},
55+
{
56+
"type": "PACKAGE",
57+
"url": "https://github.com/element-plus/element-plus"
58+
},
59+
{
60+
"type": "WEB",
61+
"url": "https://github.com/element-plus/element-plus/blob/dev/packages/components/link/src/link.vue"
62+
},
63+
{
64+
"type": "WEB",
65+
"url": "https://www.npmjs.com/package/element-plus"
66+
}
67+
],
68+
"database_specific": {
69+
"cwe_ids": [
70+
"CWE-116",
71+
"CWE-20"
72+
],
73+
"severity": "MODERATE",
74+
"github_reviewed": true,
75+
"github_reviewed_at": "2025-09-10T20:41:39Z",
76+
"nvd_published_at": "2025-09-09T18:15:36Z"
77+
}
78+
}

advisories/unreviewed/2025/09/GHSA-5m5x-9j46-h678/GHSA-5m5x-9j46-h678.json

Lines changed: 0 additions & 45 deletions
This file was deleted.

0 commit comments

Comments
 (0)