GHSA-588m-9qg5-35pq: Quill Reverse Tabnabbing Vulnerability
MODERATEGHSA-588m-9qg5-35pq is a MODERATE (CVSS 6.5) reverse tabnabbing vulnerability (CWE-1022: Use of Web Link to Untrusted Target with window.opener Access) affecting Quill libraries in the npm ecosystem. The issue involves reverse tabnabbing in quill. Remediation is available by upgrading affected packages to version 1.3.7.
GHSA-588m-9qg5-35pq at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N).
How to Fix GHSA-588m-9qg5-35pq
To remediate this vulnerability, upgrade all affected Quill 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 quill@1.3.7
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls quill
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-588m-9qg5-35pq, inspect your project dependencies using npm:
npm ls quill
Analyze the terminal output to locate any version of Quill in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.3.7), your application is affected.
Note: The npm ls quill 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-1022: Use of Web Link to Untrusted Target with window.opener Access, where the web application produces links to untrusted external sites outside of its sphere of control, but it does not properly prevent the external site from modifying security-critical properties of the window.opener object, such as the location property. In Quill, 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-588m-9qg5-35pq Affected Quill Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
quill
|
npm |
< 1.3.7
|
1.3.7
|
References
Frequently Asked Questions
What is GHSA-588m-9qg5-35pq?
Which Quill versions are affected?
What version fixes GHSA-588m-9qg5-35pq?
Is quill affected?
What is the CVSS score of GHSA-588m-9qg5-35pq?
What CWE is associated with GHSA-588m-9qg5-35pq?
How can I check npm dependencies for GHSA-588m-9qg5-35pq?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-588m-9qg5-35pq",
"modified" : "2021-09-28T22:06:18Z",
"published" : "2020-09-03T17:19:09Z",
"aliases" : [ ],
"summary" : "Reverse Tabnabbing in quill",
"details" : "Versions of `quill` prior to 1.3.7 are vulnerable to [Reverse Tabnabbing](https://www.owasp.org/index.php/Reverse_Tabnabbing). The package uses `target='_blank'` in anchor tags, allowing attackers to access `window.opener` for the original page when opening links. This is commonly used for phishing attacks.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative package until a fix is made available.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "quill"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.3.7"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/quilljs/quill/issues/2438"
}, {
"type" : "WEB",
"url" : "https://github.com/quilljs/quill/pull/2674"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/quilljs/quill"
}, {
"type" : "WEB",
"url" : "https://www.npmjs.com/advisories/1039"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1022" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-08-31T18:45:03Z",
"nvd_published_at" : null
}
}