NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2025-54066: DiracX-Web is vulnerable to attack through an Open Redirect on its login page

mediumCVSS 3.1 4.7GHSA-hfj7-542q-8fvv

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=imhiddenifthereslotofargs?param1=bbb).

Published Jul 17, 2025

Affected packages

@dirac-grid/diracx-web-components

Ecosystem
npm
Affected
< 0.1.0-a8
Fixed in
0.1.0-a8
Check
npm ls @dirac-grid/diracx-web-components

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

https://diracx-cert.app.cern.ch/auth?redirect=https://ipcim.com/en/where/?dsdsd=qsqsfsjfnsfniizaeiaapzqlalkqkaizqqijsjaopmqmxna?redirect=https://diracx-cert-app.cern.ch/auth

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).

Credited to Robin-Van-de-Merghel.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology