CVE-2025-13810 Details
Description
A vulnerability was found in jsnjfz WebStack-Guns 1.0. This affects the function renderPicture of the file src/main/java/com/jsnjfz/manage/modular/system/controller/KaptchaController.java. Performing a manipulation results in path traversal. It is possible to initiate the attack remotely. The exploit has been made public and could be used. The vendor was contacted early about this disclosure but did not respond in any way.
A path traversal vulnerability has been identified in jsnjfz WebStack-Guns version 1.0. The issue arises in the KaptchaController's renderPicture function, where the application fails to properly sanitize the pictureId parameter before appending it to the file upload path. This lack of validation allows remote attackers to manipulate the parameter and access arbitrary files readable by the application user. The vulnerability is exacerbated by the fact that the /kaptcha/{pictureId} endpoint is publicly accessible without authentication.
It is recommended to validate and sanitize the pictureId parameter to reject any values that could lead to directory traversal. Implementing a strict whitelist of allowed filenames and using normalized paths for file access can help mitigate this issue. Additionally, consider removing the public exposure of the /kaptcha endpoint or protecting it with authentication.
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 Dec 1, 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/Xzzz111/exps/blob/main/archives/WebStack-Guns-PathTraversal-1/report.md | [email protected] | ExploitThird Party Advisory |
| https://github.com/Xzzz111/exps/blob/main/archives/WebStack-Guns-PathTraversal-1/report.md#proof-of-concept | [email protected] | ExploitThird Party Advisory |
| https://vuldb.com/?ctiid.333820 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.333820 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.692080 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| jsnjfz webstack-guns | 1.0 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 3, 2026 | CVE Modified | [email protected] |
| Sep 3, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 24, 2026 | CVE Modified | [email protected] |
| Dec 4, 2025 | Initial Analysis | [email protected] |
| Dec 1, 2025 | New CVE Received | [email protected] |