DiracX-Web is vulnerable to attack through an Open Redirect on its login pageGHSA-hfj7-542q-8fvv
MEDIUMFix: DIRACGrid/diracx-web@eba3b7bGHSA-hfj7-542q-8fvv is a medium-severity (CVSS 4.7) Open Redirect vulnerability in @dirac-grid/diracx-web-components. A fix is available for @dirac-grid/diracx-web-components — see the affected versions and patch details below.
Exploitation Status
Proof-of-concept exploit code exists
- CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.
Exploitation and automatability from CISA’s SSVC triage for GHSA-hfj7-542q-8fvv.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
@dirac-grid/diracx-web-componentsnpmDescription
Summary
An attacker can forge a request to redirect an authenticated user to any arbitrary website.
Details
On 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.
Paired with a parameter pollution, we can hide our malicious URI (ex: https://dns.com/?param1=im_hidden_if_theres_lot_of_args?param1=bbb).
PoC
This POC can leak user's position.
Impact
This could be used for phishing and extracting new data (such as redirecting to a new "log in" page, and asking users to reenter credentials).
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | @dirac-grid/diracx-web-components | all versions | 0.1.0-a8npm install @dirac-grid/diracx-web-components@0.1.0-a8 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for @dirac-grid/diracx-web-components, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update @dirac-grid/diracx-web-components to 0.1.0-a8 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-hfj7-542q-8fvv is resolved across your whole dependency graph.
Workarounds
Stop reflecting attacker-controlled destinations: resolve every redirect target against an allowlist of paths or hosts you own, prefer a server-side key over a full URL in the request, and reject absolute URLs entirely where the flow only ever needs a relative one.
Frequently Asked Questions
Is GHSA-hfj7-542q-8fvv in your dependencies?
Find it across npm, including transitive dependencies.