GHSA-whrh-9j4q-g7ph CSRF Vulnerability in polaris-website
An attacker can modify user settings via CSRF if the victim visits a malicious site while logged in.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is GHSA-whrh-9j4q-g7ph?
GHSA-whrh-9j4q-g7ph is a vulnerability in polaris-website, published on 5 Aug 2020. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Impact
CSRF vulnerability: In some very specific circumstances, an attacker would be able to update your settings. Basically you would need to navigate to hackersite.com while logged into our panel. Then they could modify your settings. They couldn't check if it worked, nor could they read your settings.
Patches
As of v1.1.1 this has been patched by implementing the Double submit pattern using a cookie.
For more information
If you have any questions or comments about this advisory:
- Open an issue in Polaris-React
- Email us at [email protected]
- Join our discord (preferred): https://discord.gg/QevWabU
Which versions are affected by GHSA-whrh-9j4q-g7ph?
2 open source packages ship an affected version, including polaris-website.
| Package | Affected | Fixed in |
|---|---|---|
polaris-website npm | All versions | 1.1.1 |
polaris-website npm | All versions | 1.1.1 |
How do I fix GHSA-whrh-9j4q-g7ph?
Upgrade polaris-website to 1.1.1 or later.
Is GHSA-whrh-9j4q-g7ph being exploited?
There is no known exploitation of GHSA-whrh-9j4q-g7ph in the wild and no public exploit code.