Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privileged user
-
DeliveryUpload JavaScript-laden SVG via profile/settings endpoint
-
ExploitStored file served unsanitized from /public
-
ExecutionVictim views file, script executes in browser
-
ImpactHijack victim 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 account with permission to upload files via the profile-update or settings upload endpoints (PR:L), and (2) the SVG upload path lacking content sanitization, which per the referenced fileFilterMiddleware.js in 4.1.1 permits JavaScript-bearing SVGs. The payload only fires when the file is subsequently served from the application's /public route and a victim loads it in a browser (UI:P), so successful attack depends on a victim - ideally a higher-privileged admin - viewing the malicious file. Limiting factors: authentication is mandatory, exploitation is passive/interaction-dependent rather than automatic, and impact is confined to client-side script execution in the app origin rather than direct server compromise. |
| Impact | This is a genuine but modest-severity issue, not a top-tier priority. The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N) scores 5.1 (MEDIUM) and is internally consistent with the description: network-reachable, low attack complexity, but requiring low-privilege authentication (PR:L) and passive victim interaction (UI:P) - a victim must view the page where the malicious SVG is served. No EPSS score was supplied, the CVE is NOT listed in CISA KEV, and no public proof-of-concept is referenced in the provided data, so there is no signal of active or imminent exploitation. The impact is limited (C:L/I:L, A:N) rather than full compromise, consistent with a reflected/stored client-side XSS rather than server-side RCE. The signals do not conflict: a moderate-complexity, authenticated, interaction-dependent stored XSS in a niche open-source ERP with no exploitation evidence correctly lands as a medium-priority patch-when-practical item. Note the required authentication meaningfully constrains the attacker population, though in a multi-tenant ERP a low-privileged user attacking higher-privileged admins is a realistic insider/escalation path. |
| Exploit ScenarioDerived | A low-privileged authenticated IDURAR user uploads a crafted SVG containing embedded JavaScript through the profile-update or settings upload endpoint, which fails to sanitize SVG content. When an administrator or other user later views a page that serves the file from the /public route, the script executes in their browser in the application's origin, enabling session/credential theft or actions on their behalf. No public exploit is referenced in the provided data, and execution depends on a victim viewing the malicious file. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 03, 2026
Stored cross-site scripting in IDURAR ERP CRM through version 4.1.1 lets any authenticated user with upload privileges plant JavaScript-bearing SVG files through the profile-update or settings upload endpoints; the scripts then execute in a victim's browser when the file is loaded from the application's /public route. Because the upload middleware (backend/src/middlewares/uploadMiddleware/utils/fileFilterMiddleware.js) does not sanitize SVG content, the injected script inherits the application's origin and can read or alter data the victim is authorized to see. The attack requires a valid account (PR:L) and a victim who views the malicious file (UI:P), so it is an interaction-dependent, client-side issue rather than a direct server compromise; no public exploit code was identified at time of analysis, and the vendor has not published a fixed release.
RemediationAI
No vendor-released patch was identified at time of analysis, so remediation must be applied at the deployment and configuration level. The most effective action is to reject or sanitize SVG uploads in fileFilterMiddleware.js: either remove image/svg+xml from the accepted MIME-type and extension allowlist, which stops the attack entirely but also blocks legitimate vector-graphic uploads, or pass accepted SVGs through a dedicated sanitizer such as DOMPurify or svg-sanitizer that strips <script> elements and on* event attributes before the file is persisted. Serving user uploads from the /public route should be hardened by forcing Content-Type: application/octet-stream and Content-Disposition: attachment on stored files, which prevents browsers from rendering the SVG inline at the cost of breaking in-browser preview of legitimate images; hosting user content on a separate origin or a sandboxed iframe without allow-scripts further contains any bypass. Deploying a Content-Security-Policy that disallows inline and untrusted script sources on the application origin limits payload execution but is a defense-in-depth control, not a substitute for upload validation. Because exploitation requires a valid authenticated account and a victim to open the crafted file, restricting upload permissions to trusted roles and monitoring for SVG submissions from low-privilege users reduces exposure in the interim. Track the upstream issue at https://github.com/idurar/idurar-erp-crm/issues/1414 and the VulnCheck advisory at https://www.vulncheck.com/advisories/idurar-erp-crm-through-4.1.1-stored-xss-via-svg-upload for a fixed release, and upgrade as soon as one is published.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
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 CWE-79 stored cross-site scripting issue rooted in insufficient validation of user-supplied file content. SVG is an XML-based image format that supports embedded <script> elements and event handler attributes, so it functions as an active document when rendered by a browser rather than as an inert image. IDURAR ERP CRM's upload pipeline checks file type in fileFilterMiddleware.js, but the check accepts SVG without neutralizing script content; once the file is committed to storage and subsequently served from the /public route with an image/svg+xml or otherwise renderable content type, the browser parses and executes the embedded JavaScript in the application's origin. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N) and the independent CVSS 3.1 assessment (AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N) agree that the impact is limited, scope-changed confidentiality and integrity loss on the client side, with no availability impact and no server-side code execution. The behavior is confirmed against the 4.1.1 release referenced in the upstream repository, issue #1414, and the VulnCheck advisory.
Know when the next one hits your stack
- 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Authenticated upload (PR:L) with victim view required (UI:R); stored script executing in another user's browser crosses to a different security authority (S:C); limited C/I, no availability impact.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
DescriptionCVE.org
IDURAR ERP CRM through 4.1.1 contains a stored cross-site scripting vulnerability that allows authenticated users to inject scripts by uploading unsanitized SVG files. Attackers can upload JavaScript-laden SVGs via the profile update or settings upload endpoints, which execute in victims' browsers when served from the /public route.
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.
EUVD-2026-91851
GHSA-q56x-97x3-xhxv
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB