CVE-2025-8798 Details
Description
A vulnerability was found in oitcode samarium up to 0.9.6. It has been classified as critical. Affected is an unknown function of the file /dashboard/product of the component Create Product Page. The manipulation leads to unrestricted upload. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.
A critical stored cross-site scripting vulnerability has been identified in oitcode Samarium versions through 0.9.6. The issue arises in the Create Product Page component, specifically within the file '/dashboard/product'. The vulnerability allows for unrestricted file uploads, where an attacker can upload a malicious SVG file containing JavaScript. This script is executed when the image is viewed, even by users who are not authenticated.
It is recommended to block SVG uploads or sanitize SVG content on the server side using tools like DOMPurify. Additionally, implementing a MIME type check and file content validation can help mitigate this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 12, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/MaiqueSilva/VulnDB/blob/main/readme08.md | CISA-ADP | ExploitThird Party Advisory |
| https://github.com/MaiqueSilva/VulnDB/blob/main/readme08.md | [email protected] | ExploitThird Party Advisory |
| https://vuldb.com/?ctiid.319326 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.319326 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.626077 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-284 | Improper Access Control | [email protected] |
| CWE-434 | Unrestricted Upload of File with Dangerous Type | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| oitcode samarium | <= 0.9.6 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Sep 16, 2025 | Initial Analysis | [email protected] |
| Aug 12, 2025 | CVE Modified | CISA-ADP |
| Aug 10, 2025 | New CVE Received | [email protected] |