# CVE-2025-57665: Element Plus Link component (el-link) implements insufficient input validation for the href attribute

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.4
- **CVSS:** 6.4 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: Low; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.43% (percentile 29, 2026-11-26)
- **CWE:** CWE-79, CWE-601
- **Aliases:** GHSA-5m5x-9j46-h678
- **Published:** 2025-09-09T00:00:00.000Z
- **Modified:** 2026-11-07T18:10:00.200Z

## Who should check

- Projects that depend on npm package element-plus (\<= 2.11.0)
- Anyone running n/a (versions: see the vendor advisory)

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

## Affected and fixed versions

- npm `element-plus`: affected \<= 2.11.0; fixed no fix listed yet (osv)
- n/a: see vendor advisory (nvd)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-57665. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-57665.md
Affected: element-plus <= 2.11.0
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for element-plus (npm), n/a: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-57665 being exploited?

There is no confirmed exploitation: CVE-2025-57665 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.43% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-57665?

Medium: CVSS 6.4 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2025-57665?

element-plus \<= 2.11.0.

### Is there a fix for CVE-2025-57665?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-57665?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-57665>
- patch: <https://github.com/element-plus/element-plus/pull/21711>
- patch: <https://github.com/element-plus/element-plus/commit/110d4e1d7e150ccb829771c7319d31ce777d102f>
- other: <https://github.com/element-plus/element-plus>
- other: <https://github.com/element-plus/element-plus/blob/dev/packages/components/link/src/link.vue>
- other: <https://www.npmjs.com/package/element-plus>
- other: <https://element-plus.org/en-US/component/link.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-57665>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-5m5x-9j46-h678> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-57665> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-57665>
