jshERP
CVE-2025-67344
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege user
-
DeliverySubmit XSS payload to /msg/add
-
ExploitPayload stored in message store
-
ExecutionVictim (admin) views message
-
PersistScript executes in victim session
-
ImpactHijack 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). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
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.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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
jshERP v3.3 is vulnerable to SQL Injection. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitab
jshERP v3.3 is vulnerable to SQL Injection. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitab
jshERP v3.3 is vulnerable to SQL Injection. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitab
jshERP v3.3 is vulnerable to SQL Injection. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitab
Incorrect access control in the component \controller\ResourceController.java of jshERP v3.5 allows unauthorized attacke
Incorrect access control in the component \controller\RoleController.java of jshERP v3.5 allows unauthorized attackers t
Authenticated users can exploit a missing authorization check in jshERP 3.6 and earlier to manipulate userBusiness autho
Authenticated account takeover in jshERP through 3.6 allows any logged-in user to reset the password of any other accoun
Privilege escalation in jshERP 3.6 allows an authenticated low-privilege tenant user to grant themselves arbitrary roles
Authenticated users of jshERP through 3.6 can read, modify, and delete other users' business objects - such as materials
Privilege escalation in jshERP through 3.6 lets any authenticated user - including one holding only a low-privileged ten
Unauthenticated remote code execution in jshERP allows remote attackers to execute arbitrary commands on deployments at
NVD
CVE.org
EPSS
GitHub
Exploit-DB