GHSA-64gp-r758-8pfm: Hal console Cross-Site Scripting Vulnerability

MODERATE
CWE-1395 CWE-79
Published
Advisory Summary

GHSA-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

CVE Identifier N/A
GHSA Identifier GHSA-64gp-r758-8pfm
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-1395: Dependency on Vulnerable Third-Party Component
Affected Product Hal console
Package Ecosystem Maven
Published Date
Last Updated

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.

org.jboss.hal:hal-console fixed: 3.7.7.Final
<dependency>
    <groupId>org.jboss.hal</groupId>
    <artifactId>hal-console</artifactId>
    <version>3.7.7.Final</version>
</dependency>
Verify Direct and Transitive Dependencies

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

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. ### Impact Cross-site scripting (XSS) vulnerability in the management console. ### Patches Fixed in [HAL 3.7.7.Final](https://github.com/hal/console/releases/tag/v3.7.7) ### Workarounds No workaround available ### References See also: https://issues.redhat.com/browse/WFLY-19969

GHSA-64gp-r758-8pfm Affected Hal console Versions

1 component(s)
Fixed Versions:
3.7.7.Final
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?
GHSA-64gp-r758-8pfm is a security vulnerability in Hal console involving Cross Site Scripting (XSS) vulnerability while uploading content to a new deployment under CWE-1395: Dependency on Vulnerable Third-Party Component.
Which Hal console versions are affected?
Affected versions include releases prior to 3.7.7.Final across affected packages: org.jboss.hal:hal-console.
What version fixes GHSA-64gp-r758-8pfm?
Upgrading to 3.7.7.Final (or the latest patched release for your respective branch) resolves the vulnerability.
Is hal-console affected?
Yes, org.jboss.hal:hal-console is affected in releases prior to 3.7.7.Final. Upgrade your dependency to 3.7.7.Final or later.
What CWE is associated with GHSA-64gp-r758-8pfm?
GHSA-64gp-r758-8pfm is classified under CWE-1395: Dependency on Vulnerable Third-Party Component (The product has a dependency on a third-party component that contains one or more known vulnerabilities.).
How can I check Maven dependencies for GHSA-64gp-r758-8pfm?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.jboss.hal'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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
  }
}