CVE-2025-62782: Inventorygui InventoryGui Allows Item Duplication With Vulnerability

MODERATE
Advisory Identifier: GHSA-rgvh-4m82-fvjq
CWE-837
Published
Advisory Summary

CVE-2025-62782 is a MODERATE inventorygui allows item duplication with vulnerability (CWE-837: Improper Enforcement of a Single, Unique Action) affecting Inventorygui libraries in the Maven ecosystem. The issue involves inventorygui allows item duplication with experimental "bundle" item in guis which use guistorageelement. Remediation is available by upgrading affected packages to version 1.6.4-SNAPSHOT.

CVE-2025-62782 at a Glance

CVE Identifier CVE-2025-62782
GHSA Identifier GHSA-rgvh-4m82-fvjq
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-837: Improper Enforcement of a Single, Unique Action
Affected Product Inventorygui
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2025-62782

To remediate this vulnerability, upgrade all affected Inventorygui dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

de.themoep:inventorygui fixed: 1.6.4-SNAPSHOT
<dependency>
    <groupId>de.themoep</groupId>
    <artifactId>inventorygui</artifactId>
    <version>1.6.4-SNAPSHOT</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=de.themoep

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2025-62782, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=de.themoep

Analyze the terminal output to locate any version of Inventorygui in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.6.4-SNAPSHOT), your application is affected.

Note: The mvn dependency:tree -Dincludes=de.themoep 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-837: Improper Enforcement of a Single, Unique Action, where the product requires that an actor should only be able to perform an action once, or to have only one unique action, but the product does not enforce or improperly enforces this restriction. In Inventorygui, 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

### Impact Any plugin using the GuiStorageElement is impacted when used on a server which allows the (currently experimental) Bundle items. ### Patches Patched with https://github.com/Phoenix616/InventoryGui/commit/00e684bd689ebc60bcb5b83ce4ef3c5a01778494 ("backported" to 1.6.3-SNAPSHOT) Update to 1.6.4-SNAPSHOT to guarantee that it's included! ### Workarounds Don't enable the experiment "Bundle" items or don't use the GuiStorageElement in GUIs. ### References Original issue: https://github.com/Phoenix616/InventoryGui/issues/51

CVE-2025-62782 Affected Inventorygui Versions

1 component(s)
Fixed Versions:
1.6.4-SNAPSHOT
Product / Package Ecosystem Affected Versions Fixed Version
de.themoep:inventorygui
Maven
< 1.6.4-SNAPSHOT
1.6.4-SNAPSHOT

References

Frequently Asked Questions

What is CVE-2025-62782?
CVE-2025-62782 is a security vulnerability in Inventorygui involving InventoryGui allows item duplication with experimental "Bundle" item in GUIs which use GuiStorageElement under CWE-837: Improper Enforcement of a Single, Unique Action.
Which Inventorygui versions are affected?
Affected versions include releases prior to 1.6.4-SNAPSHOT across affected packages: de.themoep:inventorygui.
What version fixes CVE-2025-62782?
Upgrading to 1.6.4-SNAPSHOT (or the latest patched release for your respective branch) resolves the vulnerability.
Is inventorygui affected?
Yes, de.themoep:inventorygui is affected in releases prior to 1.6.4-SNAPSHOT. Upgrade your dependency to 1.6.4-SNAPSHOT or later.
What CWE is associated with CVE-2025-62782?
CVE-2025-62782 is classified under CWE-837: Improper Enforcement of a Single, Unique Action (The product requires that an actor should only be able to perform an action once, or to have only one unique action, but the product does not enforce or improperly enforces this restriction.).
How can I check Maven dependencies for CVE-2025-62782?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=de.themoep'. 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-rgvh-4m82-fvjq",
  "modified" : "2025-10-27T22:32:04Z",
  "published" : "2025-10-27T20:12:50Z",
  "aliases" : [ "CVE-2025-62782" ],
  "summary" : "InventoryGui allows item duplication with experimental \"Bundle\" item in GUIs which use GuiStorageElement",
  "details" : "### Impact\nAny plugin using the GuiStorageElement is impacted when used on a server which allows the (currently experimental) Bundle items.\n\n### Patches\nPatched with https://github.com/Phoenix616/InventoryGui/commit/00e684bd689ebc60bcb5b83ce4ef3c5a01778494 (\"backported\" to 1.6.3-SNAPSHOT)\n\nUpdate to 1.6.4-SNAPSHOT to guarantee that it's included!\n\n### Workarounds\nDon't enable the experiment \"Bundle\" items or don't use the GuiStorageElement in GUIs.\n\n### References\nOriginal issue: https://github.com/Phoenix616/InventoryGui/issues/51",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:H/VA:L/SC:N/SI:L/SA:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "de.themoep:inventorygui"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.6.4-SNAPSHOT"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.6.3-SNAPSHOT"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/Phoenix616/InventoryGui/security/advisories/GHSA-rgvh-4m82-fvjq"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-62782"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Phoenix616/InventoryGui/issues/51"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Phoenix616/InventoryGui/commit/00e684bd689ebc60bcb5b83ce4ef3c5a01778494"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/Phoenix616/InventoryGui"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-837" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-10-27T20:12:50Z",
    "nvd_published_at" : "2025-10-27T21:15:38Z"
  }
}