CVE-2025-48996: @haxtheweb/open apis Unauthenticated Disclosure Of PSU HAX Vulnerability

MODERATE
Advisory Identifier: GHSA-fvx2-x7ff-fc56
CVSS 5.3
CWE-201
Published
Advisory Summary

CVE-2025-48996 is a MODERATE (CVSS 5.3) unauthenticated disclosure of psu hax vulnerability (CWE-201: Insertion of Sensitive Information Into Sent Data) affecting @haxtheweb/open apis libraries in the npm ecosystem. The issue involves unauthenticated disclosure of psu hax cms site listings via haxpsuusage api endpoint. Remediation is available in the latest vendor maintenance releases.

CVE-2025-48996 at a Glance

CVE Identifier CVE-2025-48996
GHSA Identifier GHSA-fvx2-x7ff-fc56
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-201: Insertion of Sensitive Information Into Sent Data
Affected Product @haxtheweb/open apis
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 5.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2025-48996

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

@haxtheweb/open-apis fixed: Latest secure release
npm install @haxtheweb/open-apis@Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls @haxtheweb/open-apis

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2025-48996, inspect your project dependencies using npm:

npm ls @haxtheweb/open-apis

Analyze the terminal output to locate any version of @haxtheweb/open apis in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The npm ls @haxtheweb/open-apis command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-201: Insertion of Sensitive Information Into Sent Data, where the code transmits data to another actor, but a portion of the data includes sensitive information that should not be accessible to that actor. In @haxtheweb/open apis, 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

### Summary An **unauthenticated information disclosure vulnerability** exists in the PSU deployment of HAX CMS via the `haxPsuUsage` API endpoint. This allows **any remote unauthenticated user** to retrieve a full list of PSU websites hosted on HAX CMS. When chained with other authorization issues (e.g., HAX-3), this could assist in targeted attacks such as unauthorized content modification or deletion. --- ### Details The endpoint [`https://open-apis.hax.cloud/api/services/stats/haxPsuUsage`](https://open-apis.hax.cloud/api/services/stats/haxPsuUsage) returns a list of websites on the PSU instance of HAX CMS. This endpoint is exposed without any authentication or authorization checks. The source of the issue is in the `haxPsuUsage.js` file, which appears to directly serve the site listing without verifying user identity or access level. This enables anyone with the endpoint URL to enumerate all site instances under the PSU deployment. This endpoint may have originally been used for internal or statistical purposes but is now publicly accessible, representing a privacy and enumeration risk. --- ### PoC To reproduce this vulnerability: 1. Open a terminal or browser. 2. Send a GET request to the following endpoint: ```bash curl https://open-apis.hax.cloud/api/services/stats/haxPsuUsage --- ### Impact The `haxPsuUsage` endpoint exposes a full list of PSU HAX CMS websites to **any unauthenticated user**, allowing external actors to enumerate all sites under the PSU domain. This alone represents an information disclosure vulnerability. When **chained with the Lack Of Authorization Checks CVE**, which involves missing authorization checks on key API endpoints, the risk escalates significantly. An **authenticated attacker** can: - Modify or delete other users' sites via: - `createNode()`, `saveNode()`, `deleteNode()` - Access sensitive metadata or credentials: - `getConfig()`, `downloadSite()` - Clone or remove entire sites: - `cloneSite()`, `deleteSite()`, `archiveSite()` Combined, these issues allow a low-privileged user to **fully compromise any site** in the PSU HAX CMS instance. This vulnerability chain puts **content integrity, availability, and confidentiality** at risk for potentially hundreds of PSU academic, instructional, and departmental sites.

CVE-2025-48996 Affected @haxtheweb/open apis Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
@haxtheweb/open-apis
npm
≤ 10.0.1

References

Frequently Asked Questions

What is CVE-2025-48996?
CVE-2025-48996 is a security vulnerability in @haxtheweb/open apis involving Unauthenticated Disclosure of PSU HAX CMS Site Listings via haxPsuUsage API Endpoint under CWE-201: Insertion of Sensitive Information Into Sent Data.
Which @haxtheweb/open apis versions are affected?
Affected versions include releases prior to current release patches across affected packages: @haxtheweb/open-apis.
What version fixes CVE-2025-48996?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is @haxtheweb/open-apis affected?
Yes, @haxtheweb/open-apis is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2025-48996?
CVE-2025-48996 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2025-48996?
CVE-2025-48996 is classified under CWE-201: Insertion of Sensitive Information Into Sent Data (The code transmits data to another actor, but a portion of the data includes sensitive information that should not be accessible to that actor.).
How can I check npm dependencies for CVE-2025-48996?
Run the dependency tree command: 'npm ls @haxtheweb/open-apis'. 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-fvx2-x7ff-fc56",
  "modified" : "2025-06-05T01:07:47Z",
  "published" : "2025-06-05T01:07:47Z",
  "aliases" : [ "CVE-2025-48996" ],
  "summary" : "Unauthenticated Disclosure of PSU HAX CMS Site Listings via haxPsuUsage API Endpoint",
  "details" : "### Summary\nAn **unauthenticated information disclosure vulnerability** exists in the PSU deployment of HAX CMS via the `haxPsuUsage` API endpoint. This allows **any remote unauthenticated user** to retrieve a full list of PSU websites hosted on HAX CMS. When chained with other authorization issues (e.g., HAX-3), this could assist in targeted attacks such as unauthorized content modification or deletion.\n\n---\n\n### Details\nThe endpoint [`https://open-apis.hax.cloud/api/services/stats/haxPsuUsage`](https://open-apis.hax.cloud/api/services/stats/haxPsuUsage) returns a list of websites on the PSU instance of HAX CMS. This endpoint is exposed without any authentication or authorization checks.\n\nThe source of the issue is in the `haxPsuUsage.js` file, which appears to directly serve the site listing without verifying user identity or access level. This enables anyone with the endpoint URL to enumerate all site instances under the PSU deployment.\n\nThis endpoint may have originally been used for internal or statistical purposes but is now publicly accessible, representing a privacy and enumeration risk.\n\n---\n\n### PoC\nTo reproduce this vulnerability:\n\n1. Open a terminal or browser.\n2. Send a GET request to the following endpoint:\n   ```bash\n   curl https://open-apis.hax.cloud/api/services/stats/haxPsuUsage\n\n---\n\n### Impact\n\nThe `haxPsuUsage` endpoint exposes a full list of PSU HAX CMS websites to **any unauthenticated user**, allowing external actors to enumerate all sites under the PSU domain. This alone represents an information disclosure vulnerability.\n\nWhen **chained with the Lack Of Authorization Checks CVE**, which involves missing authorization checks on key API endpoints, the risk escalates significantly. An **authenticated attacker** can:\n\n- Modify or delete other users' sites via:\n  - `createNode()`, `saveNode()`, `deleteNode()`\n- Access sensitive metadata or credentials:\n  - `getConfig()`, `downloadSite()`\n- Clone or remove entire sites:\n  - `cloneSite()`, `deleteSite()`, `archiveSite()`\n\nCombined, these issues allow a low-privileged user to **fully compromise any site** in the PSU HAX CMS instance.\n\nThis vulnerability chain puts **content integrity, availability, and confidentiality** at risk for potentially hundreds of PSU academic, instructional, and departmental sites.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@haxtheweb/open-apis"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "10.0.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/haxtheweb/issues/security/advisories/GHSA-fvx2-x7ff-fc56"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-48996"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/haxtheweb/open-apis/commit/06c2e1fbb7131a8fe66aa0600f38dcacae6b7ac7"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/haxtheweb/issues"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-201" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-06-05T01:07:47Z",
    "nvd_published_at" : "2025-06-02T20:15:23Z"
  }
}