VYPR
Unrated severityNVD Advisory· Published Mar 24, 2025· Updated Mar 25, 2025

Yonyou UFIDA ERP-NC top.jsp cross site scripting

CVE-2025-2712

Description

A reflected XSS vulnerability in the /help/top.jsp file of Yonyou UFIDA ERP-NC 5.0 allows remote attackers to inject arbitrary JavaScript via the langcode parameter.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

A reflected XSS vulnerability in the /help/top.jsp file of Yonyou UFIDA ERP-NC 5.0 allows remote attackers to inject arbitrary JavaScript via the langcode parameter.

Vulnerability

The vulnerability is a reflected cross-site scripting (XSS) issue in the /help/top.jsp file of Yonyou UFIDA ERP-NC version 5.0. The langcode parameter is taken from the HTTP request (request.getParameter("langcode")) and embedded directly into the HTML output in several places — including within a ` style attribute using AlphaImageLoader and within tag href attributes — without proper sanitization or encoding [1]. This allows an attacker to inject arbitrary HTML and JavaScript code that will be executed in the victim's browser. No special configuration is needed; the vulnerable code path is reached simply by requesting the top.jsp file with a crafted langcode` parameter.

Exploitation

An attacker can exploit this vulnerability by crafting a malicious URL that includes a payload in the langcode parameter. The proof-of-concept provided shows ?langcode=1%22%3E%3Csvg%20onload=alert(1)%3E, which breaks out of the attribute context and executes JavaScript [1]. The attack can be launched remotely; no authentication or prior access to the ERP system is required. The exploit is triggered when a victim accesses the crafted URL — for example, via a phishing link or by browsing to a page that embeds the malicious URL — and the payload runs in the context of the user's session.

Impact

Successful exploitation allows an attacker to execute arbitrary JavaScript in the browser of a logged-in user. Depending on the browser's security context and same-origin policy, the attacker could potentially steal session cookies, read or modify page content, redirect users to malicious sites, or perform actions on behalf of the victim within the ERP-NC application. The impact is classified as problematic due to the need for user interaction (clicking the link) and the client-side nature of the attack, but it could lead to significant information disclosure or privilege escalation if combined with other weaknesses.

Mitigation

As of the publication date (2025-03-24), the vendor (Yonyou) has been contacted but has not responded or released a fix [1]. No patch or workaround is available from the vendor. Users of UFIDA ERP-NC 5.0 should restrict network access to the /help/ directory — especially top.jsp and systop.jsp — to trusted users only, implement a web application firewall (WAF) rule to filter malicious langcode values, and sanitize input server-side if custom code can be deployed. Because the product may be end-of-life or unmaintained, migration to a supported version or alternative solution is recommended.

AI Insight generated on May 25, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2
  • Yonyou/Ufida Ncllm-fuzzy2 versions
    =5.0+ 1 more
    • (no CPE)range: =5.0
    • (no CPE)range: 5.0

Patches

0

No patches discovered yet.

Vulnerability mechanics

Root cause

"The 'langcode' parameter is directly embedded into the HTML output without proper sanitization or encoding, allowing for cross-site scripting."

Attack vector

An attacker can exploit this vulnerability by crafting a malicious URL that includes an injected script within the 'langcode' parameter. When a victim visits this URL, the script is executed in their browser within the context of the vulnerable application. The attack can be launched remotely, and the exploit has been publicly disclosed [ref_id=1].

Affected code

The vulnerability resides in the /help/top.jsp file, specifically where the 'langcode' parameter is retrieved using `request.getParameter("langcode")` and then directly embedded into the HTML output, including within a `DIV` tag's style attribute and in calls to `nc.bs.ml.NCLangResOnserver.getInstance().getString()` [ref_id=1].

What the fix does

The advisory does not provide details on a specific patch or fix. It indicates that the vendor was contacted but did not respond. Therefore, no remediation guidance is available from the vendor.

Preconditions

  • networkThe target application must be accessible over the network.
  • inputThe 'langcode' parameter must be controllable by the attacker.

Reproduction

http://target-ip/help/top.jsp?langcode=1%22%3E%3Csvg%20onload=alert(1)%3E http://target-ip/help/top.jsp?langcode=1%22%3E%3C/script%3E%3Csvg%20onload=alert(1)%3E

Generated on Jun 10, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

3

News mentions

0

No linked articles in our index yet.