CVE-2026-73647: Quasar Prototype Pollution Vulnerability

MODERATE
Advisory Identifier: GHSA-3r53-75j5-3g7j
CVSS 5.6
CWE-1321
Published
Advisory Summary

CVE-2026-73647 is a MODERATE (CVSS 5.6) prototype pollution vulnerability (CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')) affecting Quasar libraries in the npm ecosystem. The issue involves prototype pollution in the extend() utility. Remediation is available by upgrading affected packages to version 2.22.0.

CVE-2026-73647 at a Glance

CVE Identifier CVE-2026-73647
GHSA Identifier GHSA-3r53-75j5-3g7j
Severity MODERATE
CVSS v3.1 Base Score 5.6
CWE Classification CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
Affected Product Quasar
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 5.6

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:N/S:U/C:L/I:L/A:L).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability Low (A:L)

How to Fix CVE-2026-73647

To remediate this vulnerability, upgrade all affected Quasar dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

quasar fixed: 2.22.0
npm install quasar@2.22.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls quasar

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2026-73647, inspect your project dependencies using npm:

npm ls quasar

Analyze the terminal output to locate any version of Quasar in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.22.0), your application is affected.

Note: The npm ls quasar 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-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution'), where the product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype. In Quasar, 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

### Summary `quasar@2.20.1`, the latest published version at the time of testing, appears to be vulnerable to prototype pollution through the public `extend()` utility exported from the package root. When `extend(true, target, source)` is used for a deep merge, attacker-controlled object keys are recursively copied into the target object without blocking prototype-pollution primitives such as `__proto__`, `constructor`, or `prototype`. This can allow attacker-controlled properties to be written to `Object.prototype`. ### Details Affected source: ```text src/utils/extend/extend.js ``` Distributed files include: ```text dist/quasar.server.prod.js dist/quasar.server.prod.cjs dist/quasar.client.js ``` The package root publicly exports `extend`. During deep merge, source object keys are recursively assigned into the target object. If the source object contains an own `__proto__` property, the merge can descend into the prototype object and assign attacker-controlled properties onto `Object.prototype`. ### PoC ```bash rm -rf /tmp/quasar-extend-pp-poc mkdir /tmp/quasar-extend-pp-poc cd /tmp/quasar-extend-pp-poc npm init -y >/dev/null npm install quasar@2.20.1 vue@3.5.31 >/dev/null cat > hack.mjs <<'JS' import { extend } from 'quasar'; delete Object.prototype.polluted; extend(true, {}, { ['__proto__']: { polluted: 'yes' } }); console.log(({}).polluted); delete Object.prototype.polluted; JS node ./hack.mjs ``` Observed output: ```text yes ``` Expected output: ```text undefined ``` ### Impact This is a prototype pollution vulnerability. If an application passes user-controlled or partially user-controlled objects into `extend(true, ...)`, an attacker may be able to pollute `Object.prototype` in the same JavaScript process. Depending on how the polluted property is later consumed, this may lead to logic bypass, unsafe default option injection, denial of service, or other application-specific security impact. ### Suggested Fix Reject or safely ignore dangerous keys before assignment, including: ```text __proto__ prototype constructor ``` The merge implementation should also avoid descending into prototype-related properties during recursive merge.

CVE-2026-73647 Affected Quasar Versions

1 component(s)
Fixed Versions:
2.22.0
Product / Package Ecosystem Affected Versions Fixed Version
quasar
npm
< 2.22.0
2.22.0

References

Frequently Asked Questions

What is CVE-2026-73647?
CVE-2026-73647 is a security vulnerability in Quasar involving Prototype pollution in the extend() utility under CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution').
Which Quasar versions are affected?
Affected versions include releases prior to 2.22.0 across affected packages: quasar.
What version fixes CVE-2026-73647?
Upgrading to 2.22.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is quasar affected?
Yes, quasar is affected in releases prior to 2.22.0. Upgrade your dependency to 2.22.0 or later.
What is the CVSS score of CVE-2026-73647?
CVE-2026-73647 has a CVSS v3.1 base score of 5.6 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L.
What CWE is associated with CVE-2026-73647?
CVE-2026-73647 is classified under CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') (The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.).
How can I check npm dependencies for CVE-2026-73647?
Run the dependency tree command: 'npm ls quasar'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-3r53-75j5-3g7j",
  "modified" : "2026-08-13T17:57:16Z",
  "published" : "2026-07-24T22:36:45Z",
  "aliases" : [ "CVE-2026-73647" ],
  "summary" : "Quasar: Prototype pollution in the extend() utility",
  "details" : "### Summary\n\n`quasar@2.20.1`, the latest published version at the time of testing, appears to be vulnerable to prototype pollution through the public `extend()` utility exported from the package root.\n\nWhen `extend(true, target, source)` is used for a deep merge, attacker-controlled object keys are recursively copied into the target object without blocking prototype-pollution primitives such as `__proto__`, `constructor`, or `prototype`.\n\nThis can allow attacker-controlled properties to be written to `Object.prototype`.\n\n### Details\n\nAffected source:\n\n```text\nsrc/utils/extend/extend.js\n```\n\nDistributed files include:\n\n```text\ndist/quasar.server.prod.js\ndist/quasar.server.prod.cjs\ndist/quasar.client.js\n```\n\nThe package root publicly exports `extend`. During deep merge, source object keys are recursively assigned into the target object. If the source object contains an own `__proto__` property, the merge can descend into the prototype object and assign attacker-controlled properties onto `Object.prototype`.\n\n### PoC\n\n```bash\nrm -rf /tmp/quasar-extend-pp-poc\nmkdir /tmp/quasar-extend-pp-poc\ncd /tmp/quasar-extend-pp-poc\n\nnpm init -y >/dev/null\nnpm install quasar@2.20.1 vue@3.5.31 >/dev/null\n\ncat > hack.mjs <<'JS'\nimport { extend } from 'quasar';\n\ndelete Object.prototype.polluted;\n\nextend(true, {}, {\n  ['__proto__']: {\n    polluted: 'yes'\n  }\n});\n\nconsole.log(({}).polluted);\n\ndelete Object.prototype.polluted;\nJS\n\nnode ./hack.mjs\n```\n\nObserved output:\n\n```text\nyes\n```\n\nExpected output:\n\n```text\nundefined\n```\n\n### Impact\n\nThis is a prototype pollution vulnerability.\n\nIf an application passes user-controlled or partially user-controlled objects into `extend(true, ...)`, an attacker may be able to pollute `Object.prototype` in the same JavaScript process.\n\nDepending on how the polluted property is later consumed, this may lead to logic bypass, unsafe default option injection, denial of service, or other application-specific security impact.\n\n### Suggested Fix\n\nReject or safely ignore dangerous keys before assignment, including:\n\n```text\n__proto__\nprototype\nconstructor\n```\n\nThe merge implementation should also avoid descending into prototype-related properties during recursive merge.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "quasar"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.22.0"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.21.4"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/quasarframework/quasar/security/advisories/GHSA-3r53-75j5-3g7j"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/quasarframework/quasar/commit/d0a95d95ab3c29d13e1b8ba8c5e5025fd6ce35e7"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/quasarframework/quasar"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/quasarframework/quasar/releases/tag/quasar-v2.22.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1321" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-07-24T22:36:45Z",
    "nvd_published_at" : null
  }
}