GHSA-whrh-9j4q-g7ph: Polaris website CSRF Vulnerability Vulnerability
MODERATEGHSA-whrh-9j4q-g7ph is a MODERATE (CVSS 6.8) csrf vulnerability vulnerability (CWE-352: Cross-Site Request Forgery (CSRF)) affecting Polaris website libraries in the npm ecosystem. The issue involves csrf vulnerability in polaris-website. Remediation is available by upgrading affected packages to version 1.1.1.
GHSA-whrh-9j4q-g7ph at a Glance
Security Impact
CVSS: 6.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N).
How to Fix GHSA-whrh-9j4q-g7ph
To remediate this vulnerability, upgrade all affected Polaris website 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 polaris-website@1.1.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls polaris-website
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-whrh-9j4q-g7ph, inspect your project dependencies using npm:
npm ls polaris-website
Analyze the terminal output to locate any version of Polaris website in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.1.1), your application is affected.
Note: The npm ls polaris-website 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-352: Cross-Site Request Forgery (CSRF), where the web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor. In Polaris website, 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
GHSA-whrh-9j4q-g7ph Affected Polaris website Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
polaris-website
|
npm |
< 1.1.1
|
1.1.1
|
References
Frequently Asked Questions
What is GHSA-whrh-9j4q-g7ph?
Which Polaris website versions are affected?
What version fixes GHSA-whrh-9j4q-g7ph?
Is polaris-website affected?
What is the CVSS score of GHSA-whrh-9j4q-g7ph?
What CWE is associated with GHSA-whrh-9j4q-g7ph?
How can I check npm dependencies for GHSA-whrh-9j4q-g7ph?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-whrh-9j4q-g7ph",
"modified" : "2021-09-23T18:38:11Z",
"published" : "2020-08-05T21:43:19Z",
"aliases" : [ ],
"summary" : "CSRF Vulnerability in polaris-website",
"details" : "### Impact\nCSRF vulnerability:\nIn some very specific circumstances, an attacker would be able to update your settings.\nBasically 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.\n\n### Patches\nAs of v1.1.1 this has been patched by implementing the Double submit pattern using a cookie.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [Polaris-React](https://github.com/polaris-rbx/polaris-react)\n* Email us at [hi@nezto.re](mailto:hi@nezto.re)\n* Join our discord (preferred): https://discord.gg/QevWabU",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "polaris-website"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.1.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/polaris-rbx/Polaris-React/security/advisories/GHSA-whrh-9j4q-g7ph"
}, {
"type" : "WEB",
"url" : "https://github.com/polaris-rbx/Polaris-React/commit/b64673d91e83c0737616a0770d8208727730808b"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/polaris-rbx/Polaris-React"
}, {
"type" : "WEB",
"url" : "https://medium.com/cross-site-request-forgery-csrf/double-submit-cookie-pattern-65bb71d80d9f"
}, {
"type" : "WEB",
"url" : "https://owasp.org/www-community/attacks/csrf"
}, {
"type" : "WEB",
"url" : "https://snyk.io/vuln/SNYK-JS-POLARISWEBSITE-597473"
}, {
"type" : "WEB",
"url" : "https://www.barracuda.com/glossary/csrf"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-352" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-08-05T21:42:25Z",
"nvd_published_at" : null
}
}