CVE-2025-5887 Details
Description
A vulnerability was found in jsnjfz WebStack-Guns 1.0. It has been classified as problematic. Affected is an unknown function of the file UserMgrController.java of the component File Upload. The manipulation of the argument File leads to cross site scripting. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
A cross-site scripting (XSS) vulnerability has been identified in jsnjfz WebStack-Guns version 1.0. This issue arises from an arbitrary file upload feature in the UserMgrController.java file, which fails to properly validate the content types and extensions of uploaded files. As a result, attackers can upload malicious files, such as HTML files containing JavaScript, which are then executed in the context of the user's browser. This vulnerability can be exploited remotely and requires user interaction.
It is recommended to implement strict file extension whitelisting, allowing only safe extensions like .jpg, .png, and .gif, while rejecting dangerous ones such as .svg, .html, and .php. Additionally, file content validation should be performed to ensure that the file's content matches its extension and does not contain harmful patterns, like script tags or JavaScript code, which could be used for cross-site scripting attacks.
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 Jun 9, 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/Aiyakami/CVE-1/issues/4 | CISA-ADP | ExploitThird Party Advisory |
| https://github.com/Aiyakami/CVE-1/issues/4 | [email protected] | ExploitThird Party Advisory |
| https://vuldb.com/?ctiid.311658 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.311658 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.580744 | [email protected] | ExploitThird 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-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| jsnjfz webstack-guns | 1.0 |
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] |
| Jul 10, 2025 | Initial Analysis | [email protected] |
| Jun 9, 2025 | CVE Modified | CISA-ADP |
| Jun 9, 2025 | New CVE Received | [email protected] |