jshERP
CVE-2025-67341
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege jshERP account
-
DeliveryUpload PDF with embedded XSS payload
-
ExploitShare/expose static file URL
-
ExecutionVictim opens stored PDF URL
-
PersistScript runs in victim session
-
ImpactSteal session or 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 (1) a valid authenticated jshERP account with permission to use the PDF/file upload feature (CVSS PR:L), and (2) a victim user who subsequently opens the attacker-uploaded file. The specific enabling condition named in the description is that uploaded PDF files are stored and served from predictable static URLs reachable by all users, so no additional authorization is enforced on retrieval. Limiting factors: the attacker must first register or be granted a low-privilege account, the victim must actively access the malicious file URL (UI:R), and the product version must be jshERP 3.5 or earlier. Impact is confined to the browser/session context (confidentiality and integrity partial, no availability impact). |
| Impact | This is a genuinely moderate, not high-priority, issue and the signals are largely consistent. The provided CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N, base 4.6) correctly reflects a stored XSS that requires an authenticated low-privilege account (PR:L) to upload the malicious PDF and requires a victim to then open the file (UI:R), with only partial confidentiality and integrity impact and no availability impact - a classic session/credential-theft or content-manipulation XSS rather than a system-compromise flaw. EPSS is very low (0.17%, 6th percentile), which aligns with the low practical severity and the fact that this is not in CISA KEV (not actively exploited). The one signal that raises attention is that public exploit/POC material exists (the vendor GitHub issue), but POC availability is NOT the same as active exploitation - there is no evidence of in-the-wild use. One tension to verify: the CVSS vector sets PR:L (authenticated upload), yet the description emphasizes that the uploaded PDFs are then reachable by ALL users via static URLs, meaning the delivery-to-victim step is effectively unauthenticated and broad; this cross-user exposure is why the real-world impact may be slightly higher than the S:U/4.6 score suggests. No SSVC decision data was provided in the input, so automatable/technical-impact cannot be independently cited. Net: a real but low-to-medium risk best handled on a normal patch cycle unless jshERP is internet-exposed with untrusted authenticated users. |
| Exploit ScenarioDerived | An attacker with a low-privilege authenticated jshERP account (versions 3.5 or earlier) uploads a PDF crafted to carry an XSS payload. Because uploaded files are served from predictable static URLs accessible to all users, any other user - including administrators - who opens that URL executes the attacker's script in their browser session, enabling session-cookie theft or actions in their context. Public POC material is referenced in the vendor's GitHub issue tracker, lowering the bar to reproduce. |
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 3.5 and earlier lets an authenticated low-privilege user upload a PDF containing an XSS payload that is then served from a predictable static URL and executed in the browser of any user who opens it. Exploitation requires the attacker to hold upload permissions and requires a victim to access the malicious file; publicly available exploit code exists, but EPSS is very low (0.17%, 6th percentile) and no KEV-listed active exploitation is indicated. Our independent assessment rates this as a moderate, scope-changed issue confined to browser/session confidentiality and integrity, with no availability impact.
RemediationAI
The provided intelligence does not identify a vendor-released patch or a fixed version, so a concrete upgrade target cannot be confirmed; if the vendor publishes a release later than 3.5, upgrade to that version and verify the fix against the issue at https://github.com/jishenghua/jshERP/issues/139. Until then, reduce exposure by disabling PDF/file upload for untrusted or low-privilege accounts and restricting upload capability to administrators, accepting the trade-off that this breaks normal document sharing for non-admin users. Force uploaded files to download rather than render inline by serving them with Content-Disposition: attachment and X-Content-Type-Options: nosniff, and optionally host user-uploaded content on a separate sandbox origin so any script executes outside the main application origin; the trade-off is degraded in-browser preview and added deployment complexity. Also require authentication or signed URLs for static file retrieval so stored PDFs are not reachable by every user, and sanitize or scan uploaded PDFs to strip JavaScript, with the caveat that PDF sanitization can alter or break legitimate documents.
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
jshERP is an open-source ERP application tracked under CPE cpe:2.3:a:jishenghua:jsherp:*:*:*:*:*:*:*:*, and the affected versions are 3.5 and earlier. The flaw is CWE-79 (improper neutralization of input during web page generation, commonly cross-site scripting). The upload feature stores PDF files and the application exposes them at static URLs without additional authorization, so a PDF containing embedded script or an XSS payload can be retrieved by other users; when a victim opens that URL, the payload executes in the application's origin rather than being treated as inert content. The CVSS vector shows PR:L and UI:R: a low-privilege authenticated account is needed to upload the file, and a separate victim must interact with the stored file. Our assessment changes scope to S:C, reflecting that the executed script can affect resources beyond the vulnerable component, but impact remains limited to partial confidentiality and integrity.
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 upload gives PR:L and victim must open the file (UI:R); stored payload executes in other users' contexts via static URLs, justifying S:C with partial C/I and no availability impact.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
jshERP versions 3.5 and earlier are affected by a stored XSS vulnerability. This vulnerability allows attackers to upload PDF files containing XSS payloads. Additionally, these PDF files can be accessed via static URLs, making them accessible to all users.
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