Skip to main content
VulnerabilityPublished 07/24/2026

Quasar: Prototype pollution in the extend() utility

Affects quasarSource GCVE Database

CVSS 3.1 base score
5.6Medium
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:L

What 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

ProductAffectedFixed in
npmquasarAffected
  • <2.22.0
Fixed in
  • 2.22.0

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