CVE-2025-4511 vector4wang spring-boot-quick quick-img2txt Img2TxtController.java ResponseEntity path traversal

Medium 5.3 Published Updated

Remote attackers can exploit a path traversal flaw in the quick-img2txt module to read arbitrary files from the server.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-4511?

CVE-2025-4511 is a medium-severity path traversal vulnerability in vector4wang spring-boot-quick, published on 10 May 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability was found in vector4wang spring-boot-quick up to 20250422. It has been rated as critical. This issue affects the function ResponseEntity of the file /spring-boot-quick-master/quick-img2txt/src/main/java/com/quick/controller/Img2TxtController.java of the component quick-img2txt. The manipulation leads to path traversal. The attack may be initiated 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.

Weakness: CWE-22

Which versions are affected by CVE-2025-4511?

How do I fix CVE-2025-4511?

No fix has been published for CVE-2025-4511 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2025-4511 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-4511 exists.

Sources

Also known as GHSA-vf2r-64qm-7vcq.

Is CVE-2025-4511 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free