CVE-2025-54066: @dirac grid/diracx web components DiracX-Web Is Vulnerable To Attack Vulnerability
MODERATECVE-2025-54066 is a MODERATE (CVSS 4.7) diracx-web is vulnerable to attack vulnerability (CWE-601: URL Redirection to Untrusted Site ('Open Redirect')) affecting @dirac grid/diracx web components libraries in the npm ecosystem. The issue involves diracx-web is vulnerable to attack through an open redirect on its login page. Remediation is available by upgrading affected packages to version 0.1.0-a8.
CVE-2025-54066 at a Glance
Security Impact
CVSS: 4.7
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:R/S:C/C:L/I:N/A:N).
How to Fix CVE-2025-54066
To remediate this vulnerability, upgrade all affected @dirac grid/diracx web components dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @dirac-grid/diracx-web-components@0.1.0-a8
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @dirac-grid/diracx-web-components
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2025-54066, inspect your project dependencies using npm:
npm ls @dirac-grid/diracx-web-components
Analyze the terminal output to locate any version of @dirac grid/diracx web components in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.1.0-a8), your application is affected.
Note: The npm ls @dirac-grid/diracx-web-components 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-601: URL Redirection to Untrusted Site ('Open Redirect'), where the web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect. In @dirac grid/diracx web components, 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
CVE-2025-54066 Affected @dirac grid/diracx web components Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@dirac-grid/diracx-web-components
|
npm |
< 0.1.0-a8
|
0.1.0-a8
|
References
Frequently Asked Questions
What is CVE-2025-54066?
Which @dirac grid/diracx web components versions are affected?
What version fixes CVE-2025-54066?
Is @dirac-grid/diracx-web-components affected?
What is the CVSS score of CVE-2025-54066?
What CWE is associated with CVE-2025-54066?
How can I check npm dependencies for CVE-2025-54066?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-hfj7-542q-8fvv",
"modified" : "2025-07-17T19:40:59Z",
"published" : "2025-07-17T19:40:59Z",
"aliases" : [ "CVE-2025-54066" ],
"summary" : "DiracX-Web is vulnerable to attack through an Open Redirect on its login page",
"details" : "### Summary\n\nAn attacker can forge a request to redirect an authenticated user to any arbitrary website.\n\n### Details\n\nOn the login page, we have a `redirect` field which is the location where the server will redirect the user. This URI is not verified, and can be an arbitrary URI.\n\nPaired with a parameter pollution, we can hide our malicious URI (ex: `https://dns.com/?param1=im_hidden_if_theres_lot_of_args?param1=bbb`).\n\n### PoC\n\nhttps://diracx-cert.app.cern.ch/auth?redirect=https://ipcim.com/en/where/?dsdsd=qsqsfsjfnsfniizaeiaapzqlalkqkaizqqijsjaopmqmxna?redirect=https://diracx-cert-app.cern.ch/auth\n\nThis POC can leak user's position.\n\n### Impact\n\nThis could be used for phishing and extracting new data (such as redirecting to a new \"log in\" page, and asking users to reenter credentials).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@dirac-grid/diracx-web-components"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.1.0-a8"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/DIRACGrid/diracx-web/security/advisories/GHSA-hfj7-542q-8fvv"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-54066"
}, {
"type" : "WEB",
"url" : "https://github.com/DIRACGrid/diracx-web/commit/eba3b7bc4f9d394074215986e6d3c15b546b25d5"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/DIRACGrid/diracx-web"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-601" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-07-17T19:40:59Z",
"nvd_published_at" : "2025-07-17T15:15:27Z"
}
}