CVE-2025-57665 Element Plus Link component (el-link) implements insufficient input validation for the href attribute
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| element-plus | <= 2.10.6 | after 2.10.6 | Fixed |
| npm element-plus(npm) | <= 2.11.0 | after 2.11.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm element-plus(npm) | <= 2.11.0 | No fix listed |
| element-plus | <= 2.10.6 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com exploit issue-tracking patch
- element-plus.org product
- github.com product
- github.com product
- www.npmjs.com product
- github.com patch
- github.com