CVE-2025-6551 java-aodeng Hope-Boot WebController.java login cross site scripting

Medium 5.1 Published Updated

Cross-site scripting in Hope-Boot login allows remote attackers to inject malicious scripts via the errorMsg parameter, potentially leading to session hijacking.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-6551?

CVE-2025-6551 is a medium-severity cross-site scripting vulnerability in java-aodeng Hope-Boot, published on 24 Jun 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

A vulnerability was found in java-aodeng Hope-Boot 1.0.0 and classified as problematic. This issue affects the function Login of the file /src/main/java/com/hope/controller/WebController.java. The manipulation of the argument errorMsg leads to cross site scripting. 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-94, CWE-79

Which versions are affected by CVE-2025-6551?

It affects 1 product.

Products include Java-Aodeng Hope-Boot.

How do I fix CVE-2025-6551?

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

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2025-6551 being exploited?

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

Sources

Also known as GHSA-fh8x-6hpx-vcfq.

Is CVE-2025-6551 in your software?

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

Check your SBOMs for free