Quasar: Prototype pollution in the extend() utility
Affects quasarSource GCVE Database
- Patch
- Available – fixed in 2.22.0
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:LWhat to do
AI-suggested
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid passing untrusted or user-controlled objects to extend(true, ...). Implement input validation to exclude prototype-pollution keys such as __proto__, constructor, and prototype before merging. Monitor vendor channels for an official fix or update to Quasar version 2.22.0 or later once released.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmquasar | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
Quasar version 2.20.1 and earlier are vulnerable to prototype pollution via the public extend() utility. The vulnerability occurs during deep merge operations where attacker-controlled keys such as __proto__, constructor, or prototype are not blocked, allowing modification of Object.prototype. This can lead to application-specific impacts such as logic bypass or denial of service if polluted properties are used unsafely.
Weaknesses
References
- github.com/quasarframework/quasar/security/advisories/GHSA-3r53-75j5-3g7j (opens in a new tab)
- github.com/quasarframework/quasar/commit/d0a95d95ab3c29d13e1b8ba8c5e5025fd6ce35e7 (opens in a new tab)
- github.com/quasarframework/quasar (opens in a new tab)
- github.com/quasarframework/quasar/releases/tag/quasar-v2.22.0 (opens in a new tab)