Skip to main content

jshERP CVE-2025-67344

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-12-12 cve@mitre.org
4.6
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privilege user
  2. Delivery
    Submit XSS payload to /msg/add
  3. Exploit
    Payload stored in message store
  4. Execution
    Victim (admin) views message
  5. Persist
    Script executes in victim session
  6. Impact
    Hijack session / act as victim

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated account with permission to post messages via the /msg/add endpoint (PR:L), and the payload only executes when a second user views the stored message (UI:R) - so impact depends on a victim, ideally a higher-privileged one such as an administrator, rendering the malicious content. Limiting factors: the attacker must already hold valid credentials to the jshERP instance, the application must be reachable by both attacker and victim, and no execution occurs without a victim viewing the affected message. The affected product is jshERP v3.5 and earlier; later/patched versions are not confirmed vulnerable.

Impact

This is a genuinely low-priority issue despite being a network-vector vulnerability. The CVSS 3.1 base score of 4.6 (MEDIUM) is consistent with the vector CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N: network-reachable but requiring authenticated access (PR:L) AND victim interaction (UI:R), with only limited confidentiality and integrity impact and no availability impact - the classic profile of a stored XSS. The EPSS score is very low at 0.17% (6th percentile), indicating negligible modeled probability of exploitation in the wild over the next 30 days. The CVE is NOT in CISA KEV, so there is no evidence of active exploitation. A public exploit reference exists (the vendor's own GitHub issue tracker), so publicly available exploit code/detail exists, but POC availability is a distinct signal from active exploitation and should not be conflated with it. No SSVC decision data was provided. The signals are mutually consistent rather than conflicting: low EPSS, no KEV, authenticated + user-interaction preconditions, and a self-limited scope all point to a real but low-urgency defect rather than an emergency. The primary residual risk is a low-privilege insider or a compromised low-tier account using the flaw for privilege escalation against a higher-privileged user (e.g., an administrator who views the malicious message).

Exploit ScenarioDerived

An authenticated low-privilege jshERP user submits a message through the /msg/add endpoint containing a malicious JavaScript payload, which is stored by the application. When another user - typically a higher-privileged user such as an administrator - later views that message, the script executes in their authenticated browser session, enabling session/cookie theft or actions performed as the victim. A public exploit reference exists on the vendor's GitHub issue tracker (issue #140).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 14, 2026

Stored cross-site scripting in jshERP v3.5 and earlier allows an authenticated user who can post messages to inject script through the /msg/add endpoint, which then executes in the browser of any user who opens the affected message. The CVSS 3.1 vector (4.6 per NVD; the assessor's vector differs only in scope, S:C, keeping severity in the low band) requires a valid account (PR:L) and a victim to view the stored payload (UI:R) - often an administrator, in whose session the script would run. Publicly available exploit code exists (an upstream GitHub issue in the jshERP repository), but there is no evidence of confirmed active exploitation (not in CISA KEV) and EPSS is only 0.17% (6th percentile), reinforcing the low-priority assessment.

RemediationAI

No vendor-released patch identified at time of analysis, and no fixed version is documented in the available references; track https://github.com/jishenghua/jshERP/issues/140 and the jshERP release notes for an upstream fix and upgrade as soon as a patched version is published. In the meantime, restrict the ability to post messages via /msg/add to the smallest possible set of trusted, non-privileged accounts (this shrinks the attack surface but does not remove risk if such an account is compromised), and consider temporarily disabling the messaging feature entirely if it is not operationally required, accepting the loss of internal communication. Deploy a Content-Security-Policy for the messaging views that forbids inline and third-party script, understanding that this may break UI elements relying on inline JavaScript, and set session cookies with HttpOnly and SameSite attributes to blunt cookie theft while noting that in-session actions by injected script remain possible. Where the codebase can be modified or forked, add server-side sanitization and context-aware output encoding when messages are rendered, and audit/purge existing stored messages for embedded script tags; as a network-level control, expose the jshERP instance only to trusted internal users rather than the public internet, since both attacker and victim must be able to reach the application for exploitation.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is a persistent (stored) cross-site scripting issue, classed as CWE-79 improper neutralization of input during web page generation, in the Java-based jshERP enterprise resource planning application maintained under the jishenghua namespace (CPE cpe:2.3:a:jishenghua:jsherp:*:*:*:*:*:*:*:*). Message content submitted to the /msg/add endpoint is persisted server-side without adequate sanitization or output encoding and is later rendered into the pages of other users, so the injected markup executes in the victim's browser under the application's origin. The scope-changed rating (S:C) reflects that the script crosses a trust boundary: it runs in the victim's authenticated session context rather than the attacker's, allowing limited data exposure or state-changing actions on the victim's behalf as constrained by the C:L/I:L metrics. Because the payload is stored, exploitation is asynchronous and requires no interaction with the attacker after the message is created; the only public technical reference is the upstream issue https://github.com/jishenghua/jshERP/issues/140, tagged as exploit material.

Know when Jsherp gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 4.6 MEDIUM
AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

Authenticated poster (PR:L) stores a payload that runs only when a victim views it (UI:R); stored XSS executes in the victim's browser, a different security authority, so S:C with limited C/I and no A.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

jshERP v3.5 and earlier is affected by a stored Cross Site Scripting (XSS) vulnerability via the /msg/add endpoint.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Low
niche open-source Chinese ERP, limited enterprise deployment footprint
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

43
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +23
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

Affected Products (CPE)CVE.org

cpe:2.3:a:jishenghua:jsherp:*:*:*:*:*:*:*:*

More in Jsherp

View all
CVE-2024-24003 CRITICAL POC
9.8 Feb 08

jshERP v3.3 is vulnerable to SQL Injection. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitab

CVE-2024-24004 CRITICAL POC
9.8 Feb 07

jshERP v3.3 is vulnerable to SQL Injection. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitab

CVE-2024-24002 CRITICAL POC
9.8 Feb 07

jshERP v3.3 is vulnerable to SQL Injection. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitab

CVE-2024-24001 CRITICAL POC
9.8 Feb 07

jshERP v3.3 is vulnerable to SQL Injection. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitab

CVE-2025-55370 HIGH POC
8.8 Aug 21

Incorrect access control in the component \controller\ResourceController.java of jshERP v3.5 allows unauthorized attacke

CVE-2025-55368 HIGH POC
8.8 Aug 21

Incorrect access control in the component \controller\RoleController.java of jshERP v3.5 allows unauthorized attackers t

CVE-2026-94501 HIGH POC
8.7 Sep 21

Authenticated users can exploit a missing authorization check in jshERP 3.6 and earlier to manipulate userBusiness autho

CVE-2026-94412 HIGH POC
8.7 Sep 21

Authenticated account takeover in jshERP through 3.6 allows any logged-in user to reset the password of any other accoun

CVE-2026-94411 HIGH POC
8.7 Sep 21

Privilege escalation in jshERP 3.6 allows an authenticated low-privilege tenant user to grant themselves arbitrary roles

CVE-2026-94497 HIGH POC
8.7 Sep 21

Authenticated users of jshERP through 3.6 can read, modify, and delete other users' business objects - such as materials

CVE-2026-94496 HIGH POC
8.7 Sep 21

Privilege escalation in jshERP through 3.6 lets any authenticated user - including one holding only a low-privileged ten

CVE-2025-60801 HIGH POC
8.2 Oct 24

Unauthenticated remote code execution in jshERP allows remote attackers to execute arbitrary commands on deployments at

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy