GHSA-2ccr-g2rv-h677
Session Token in URL in directus
Quick fix
GHSA-2ccr-g2rv-h677 — directus: upgrade to the fixed version with the command below.
npm install directus@10.10.0Details
### Impact
When reaching the /files page, a JWT is passed via GET request. Inclusion of session tokens in URLs poses a security risk as URLs are often logged in various places (e.g., web server logs, browser history). Attackers gaining access to these logs may hijack active user sessions, leading to unauthorized access to sensitive information or actions on behalf of the user.
### Patches
_Has the problem been patched? What versions should users upgrade to?_
### Workarounds
There's no workaround available.
### References
_Are there any links users can visit to find out more?_
Are you affected?
Enter the version of the package you're using.
Affected packages
References
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:npm/directus"]}'