Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2022-21189: The package dexie before 3.2.2, from 4.0.0-alpha.1 and before 4.0.0-alpha.3 are vulnerable to Prototype Pollut

55
This week
HIGH 7.3REMOTEUPGRADEDOWNGRADE

CVE-2022-21189 is a high-severity flaw (CVSS 7.3) affecting dexie, dexie. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

The package dexie before 3.2.2, from 4.0.0-alpha.1 and before 4.0.0-alpha.3 are vulnerable to Prototype Pollution in the Dexie.setByKeyPath(obj, keyPath, value) function which does not properly check the keys being set (like __proto__ or constructor). This can allow an attacker to add/modify properties of the Object.prototype leading to prototype pollution vulnerability. **Note:** This vulnerability can occur in multiple ways, for example when mo

Why this priority

  • High severity
  • Public exploit reference
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score7.3 (High)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance1.7% (top 23%)
CISA exploited listNo
WeaknessCWE-1321
Published2022-05-01
Last modified2026-06-17
Publisher (CNA): Snyk · Vendor: dexie

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

dexie dexie UPGRADE
Affected: < 3.2.2
Fixed in: 3.2.2
Safe to downgrade to: no unaffected older release
1. Check installed version
npm ls dexie
2. UPGRADE to 3.2.2
npm install dexie@">=3.2.2"
dexie dexie DOWNGRADE
Affected: 4.0.0 alpha1 · 4.0.0 alpha2
Fixed in: no fixed release known
Safe to downgrade to: a release before 4.0.0
1. Check installed version
apt-cache policy dexie || rpm -q dexie || dexie --version
2. No fixed release: DOWNGRADE to a release before 4.0.0 (Debian / Ubuntu)
apt-cache madison dexie sudo apt install dexie=<VERSION_BEFORE_4.0.0> sudo apt-mark hold dexie
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list dexie sudo dnf downgrade dexie-<VERSION_BEFORE_4.0.0> sudo dnf versionlock add dexie
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2022-21189?

dexie: upgrade to 3.2.2; dexie: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.

Is CVE-2022-21189 being exploited?

CVE-2022-21189 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2022-21189 affect?

CVE-2022-21189 affects dexie, dexie. Severity is high (CVSS 7.3). The package dexie before 3.2.2, from 4.0.0-alpha.1 and before 4.0.0-alpha.3 are vulnerable to Prototype Pollution in the Dexie.setByKeyPath(obj, keyPath, value) function which does not properly check the keys being set (like __proto__ or co

How urgent is CVE-2022-21189?

Priority 55/100. High severity; Public exploit reference; Remotely exploitable, no login, no user action

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.