CVE-2025-23366 Org.jboss.hal:hal-console: wildfly hal console cross-site scripting

Medium 6.5 Published Updated

Authenticated administrators can inject scripts into the WildFly HAL Console, potentially leading to code execution or account takeover.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-23366?

CVE-2025-23366 is a medium-severity cross-site scripting vulnerability in Red Hat JBoss Data Grid 7, published on 14 Jan 2025. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

A flaw was found in the HAL Console in the Wildfly component, which does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output used as a web page that is served to other users. The attacker must be authenticated as a user that belongs to management groups “SuperUser”, “Admin”, or “Maintainer”.

Weakness: CWE-79

Which versions are affected by CVE-2025-23366?

2 open source packages ship an affected version, including org.jboss.hal:hal-console. It affects 1 product.

PackageAffectedFixed in
org.jboss.hal:hal-console MavenAll versions3.7.7.Final
org.jboss.hal:hal-console MavenAll versions3.7.7.Final

Products include Redhat Hal Management Console.

How do I fix CVE-2025-23366?

Upgrade org.jboss.hal:hal-console to 3.7.7.Final or later.

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-23366 being exploited?

There is no known exploitation of CVE-2025-23366 in the wild and no public exploit code.

Sources

Also known as GHSA-jhvj-f397-8w6q.

Is CVE-2025-23366 in your software?

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

Check your SBOMs for free