GHSA-64gp-r758-8pfm: Hal console Cross-Site Scripting Vulnerability
MODERATEGHSA-64gp-r758-8pfm is a MODERATE cross-site scripting vulnerability (CWE-1395: Dependency on Vulnerable Third-Party Component) affecting Hal console libraries in the Maven ecosystem. The issue involves cross site scripting (xss) vulnerability while uploading content to a new deployment. Remediation is available by upgrading affected packages to version 3.7.7.Final.
GHSA-64gp-r758-8pfm at a Glance
How to Fix GHSA-64gp-r758-8pfm
To remediate this vulnerability, upgrade all affected Hal console dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.jboss.hal</groupId>
<artifactId>hal-console</artifactId>
<version>3.7.7.Final</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.jboss.hal
How to Check if You Are Affected
To determine whether your Java application is affected by GHSA-64gp-r758-8pfm, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.jboss.hal
Analyze the terminal output to locate any version of Hal console in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.7.7.Final), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.jboss.hal command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-1395: Dependency on Vulnerable Third-Party Component, where the product has a dependency on a third-party component that contains one or more known vulnerabilities. In Hal console, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-64gp-r758-8pfm Affected Hal console Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.jboss.hal:hal-console
|
Maven |
< 3.7.7.Final
|
3.7.7.Final
|
References
Frequently Asked Questions
What is GHSA-64gp-r758-8pfm?
Which Hal console versions are affected?
What version fixes GHSA-64gp-r758-8pfm?
Is hal-console affected?
What CWE is associated with GHSA-64gp-r758-8pfm?
How can I check Maven dependencies for GHSA-64gp-r758-8pfm?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-64gp-r758-8pfm",
"modified" : "2024-12-23T20:15:16Z",
"published" : "2024-12-23T20:15:16Z",
"aliases" : [ ],
"summary" : "Cross Site Scripting (XSS) vulnerability while uploading content to a new deployment",
"details" : "A vulnerability was found in the WildFly management console. A user may perform cross-site scripting in the deployment system. An attacker (or insider) may execute a malicious payload which could trigger an undesired behavior against the server.\n\n### Impact\nCross-site scripting (XSS) vulnerability in the management console.\n\n### Patches\nFixed in [HAL 3.7.7.Final](https://github.com/hal/console/releases/tag/v3.7.7) \n\n### Workarounds\nNo workaround available\n\n### References\nSee also: https://issues.redhat.com/browse/WFLY-19969\n",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.jboss.hal:hal-console"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.7.7.Final"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/hal/console/security/advisories/GHSA-64gp-r758-8pfm"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/hal/console"
}, {
"type" : "WEB",
"url" : "https://github.com/hal/console/releases/tag/v3.7.7"
}, {
"type" : "WEB",
"url" : "https://issues.redhat.com/browse/WFLY-19969"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1395", "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-12-23T20:15:16Z",
"nvd_published_at" : null
}
}