← Back to CVEs
Aureus ERP

CVE-2026-97062 - Aureus ERP 1.6.0 Stored XSS via SVG File Upload

October 2026 — Common Vulnerabilities and Exposures (CVE)

A GitHub repository version of this disclosure can be read here: CVE-2026-97062.


DetailInformation
CVE RecordCVE-2026-97062
Severity5.1 Medium (CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N)
5.4 Medium (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N)
Date Published2026-10-02
Software NameAureus ERP
Affected Version(s)0 through 1.6.0
Software Linkhttps://github.com/aureuserp/aureuserp
VendorWebkul
Researcher CreditsAaron Amran Bin Amiruddin (@aaronamran), Nishan Bhandari

Description

Aureus ERP through 1.6.0, fixed in commit 53ad76d, stores uploaded SVG files on its public disk and serves them from the application origin, allowing authenticated users to upload malicious SVG files containing JavaScript. Attackers can craft SVG files with script elements that execute in the application's origin when the file URL is opened directly, enabling session cookie theft and CSRF token exfiltration.


Proof-of-Concept

1. Create a non-admin user profile. Use the SVG payload below and save it as an SVG image:

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200">
    <!-- Visual element so the SVG isn't invisible -->
    <circle cx="100" cy="100" r="40" fill="#cc0000" />
    
    <!-- XSS Payload executing on load -->
    <script type="text/javascript">
        alert("Stored XSS via SVG Image on " + document.domain);
    </script>
</svg>

2. Log out as the non-admin user, and log in as the admin user. Navigate to the Users tab and click on the 3 dots at the most right of the user row and view the non-admin user profile.

CVE-2026-97062 Image 1

3. When the user is viewed, the profile picture fails to load.

CVE-2026-97062 Image 2

4. Once we (as the admin user) right-click on the profile picture and open it in a new tab, the stored XSS payload executes.

CVE-2026-97062 Image 3


Vulnerable Code Section

'mimes:jpg,jpeg,png,gif,bmp,svg,webp,pdf,doc,docx,xls,xlsx,ppt,pptx,txt,csv,zip,mp4,mov,avi,wmv,mp3,m4a,wav,mpga,wma',
'mimetypes:image/*,video/*,audio/*,application/pdf,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-powerpoint,application/vnd.openxmlformats-officedocument.presentationml.presentation,text/plain,text/csv,application/zip',

Recommended Fix

'mimes:jpg,jpeg,png,gif,bmp,webp,pdf,doc,docx,xls,xlsx,ppt,pptx,txt,csv,zip,mp4,mov,avi,wmv,mp3,m4a,wav,mpga,wma',
'mimetypes:image/jpeg,image/png,image/gif,image/bmp,image/webp,video/*,audio/*,application/pdf,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-powerpoint,application/vnd.openxmlformats-officedocument.presentationml.presentation,text/plain,text/csv,application/zip',

Timeline



See you in the next hack.

@aaronamran

October 2026