6.4medium
Element Plus Link component (el-link) implements insufficient input validation for the href attribute
- Severity
- 6.4medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.26% (higher than 19% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-5m5x-9j46-h678
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
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| element-plus (npm) | up to 2.11.0 | GitHub Advisory Database |
| element-plus element-plus | up to 2.10.6 | NVD |
All scores
| CISA-ADP | 6.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
| GitHub | medium 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 |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
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. As of version 2.11.0, Element Plus have clearly documented the risks inherent with the component.
NVD (es)
El componente Element Plus Link (el-link) hasta la versión 2.10.6 implementa una validación de entrada insuficiente para el atributo href, creando una brecha de abstracción de seguridad que oculta vectores de ataque basados en URL. El componente pasa valores href controlados por el usuario directamente a los elementos de anclaje subyacentes sin validación de protocolo, saneamiento de URL o encabezados de seguridad. Esto permite a los atacantes inyectar URL maliciosas utilizando protocolos peligrosos (javascript_disabled: , data:, file:) o redirigir a los usuarios a sitios maliciosos externos. Si bien los elementos de anclaje HTML nativos presentan riesgos similares, las bibliotecas de componentes de UI tienen una responsabilidad adicional para implementar salvaguardias de seguridad y proporcionar documentación clara sobre los riesgos. La vulnerabilidad permite ataques XSS, campañas de phishing y exploits de redirección abierta que afectan a las aplicaciones que utilizan componentes Element Plus Link con entradas de URL controladas por el usuario o no confiables.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-57665 changed 2025-09-22 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-5m5x-9j46-h678 changed 2025-09-12 | CC-BY-4.0 |
| NVD | CVE-2025-57665 changed 2026-11-07 | Public domain |