{"answers":{"affected":"2 open source packages ship an affected version, including element-plus. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-57665 exists.","fix":"No fix has been published for CVE-2025-57665 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-57665 is a medium-severity cross-site scripting vulnerability in n/a, published on 9 Sep 2025. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-57665 and fix it if it is affected.\n\nWhat it is: CVE-2025-57665 is a medium-severity cross-site scripting vulnerability in n/a, published on 9 Sep 2025. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-57665 exists.\n\nAffected packages and fixed versions:\n- element-plus (npm): affected all versions up to 2.11.0; no fix listed\n- element-plus (npm): affected all versions up to 2.11.0; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-57665/ (Markdown: https://insights.sbomify.com/CVE-2025-57665/index.md)","id":"CVE-2025-57665","markdown":"https://insights.sbomify.com/CVE-2025-57665/index.md","name":"CVE-2025-57665","record":{"aliases":["GHSA-5m5x-9j46-h678"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Vue UI component library","requires_auth":"low_privilege","summary":"Attackers can inject malicious URLs into Element Plus Link components, enabling XSS and phishing attacks against applications using untrusted inputs.","user_interaction":"not_required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"element-plus","vendor":"element-plus"}],"cvss":{"score":6.4,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Element Plus Link component (el-link) implements insufficient input validation for the href attribute","id":"CVE-2025-57665","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"xss","year":"2025"},"n_packages":2,"n_references":5,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2025-57681"},"packages":[{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["2.11.0"],"package":"element-plus","purl":null,"source":"GHSA-5m5x-9j46-h678"},{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["2.11.0"],"package":"element-plus","purl":"pkg:npm/element-plus","source":"GHSA-5m5x-9j46-h678"}],"prev":{"headline":"Code injection in n/a","id":"CVE-2025-57644"},"products":["n/a"],"published":"2025-09-09","related":[{"cvss_score":6.1,"headline":"element-plus vulnerable to cross-site scripting (XSS) via el-table-column","id":"CVE-2022-27103","kev_date_added":null,"published":"2022-04-25"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-09-22","vendors":["n/a"]},"summary":"Attackers can inject malicious URLs into Element Plus Link components, enabling XSS and phishing attacks against applications using untrusted inputs.","url":"https://insights.sbomify.com/CVE-2025-57665/"}